__init__(self,
data,
nVars=None,
nPts=None,
nPossibleVals=None,
qBounds=None,
varNames=None,
ptNames=None,
nResults=1)
(Constructor)
| source code
|
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.
- Overrides:
MLDataSet.__init__
|