Trees | Indices | Help |
|
---|
|
object --+ | MLDataSet
A data set for holding general data (floats, ints, and strings) **Note** this is intended to be a read-only data structure (i.e. after calling the constructor you cannot touch it)
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Constructor **Arguments** - data: a list of lists containing the data. The data are copied, so don't worry about us overwriting them. - nVars: the number of variables - nPts: the number of points - nPossibleVals: an list containing the number of possible values for each variable (should contain 0 when not relevant) This is _nVars_ long - qBounds: a list of lists containing quantization bounds for variables which are to be quantized (note, this class does not quantize the variables itself, it merely stores quantization bounds. an empty sublist indicates no quantization for a given variable This is _nVars_ long - varNames: a list of the names of the variables. This is _nVars_ long - ptNames: the names (labels) of the individual data points This is _nPts_ long - nResults: the number of results columns in the data lists. This is usually 1, but can be higher.
|
calculates the number of possible values of each variable (where possible) **Arguments** -data: a list of examples to be used **Returns** a list of nPossible values for each variable |
returns a list of named examples **Note** a named example is the result of prepending the example name to the data list |
returns the input data **Note** _inputData_ means the examples without their result fields (the last _NResults_ entries) |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Feb 1 16:13:01 2018 | http://epydoc.sourceforge.net |