|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
initializeDataMatrix(self,
numPatterns,
numFeatures) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
eliminateFeatures(self,
featureList)
eliminate a list of features from a dataset INPUT: featureList - a
list of features to eliminate; these are numbers between 0 and
numFeatures-1 (indices of features, not their IDs) |
source code
|
|
|
scale(self,
w)
rescale the columns of the data matrix by a weight vector w: set
X[i][j] = X[i][j] * w[j] |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__str__
|
|
__len__(self)
the number of patterns in the dataset |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
featureNames2IDs(self,
featureList)
convert a list of feature Names into their numeric IDs |
source code
|
|
|
|
|
|
|
|
|
keepFeatures(self,
features)
eliminate all but the give list of features INPUT: features - a list
of features to eliminate; these are either numbers between 0 and
numFeatures-1 (indices of features, not their IDs) or featureIDs |
source code
|
|
|
save(self,
fileName,
**args)
save a dataset to a file (does not use pickle!) |
source code
|
|
|
|
|
getKernelMatrix(self)
returns the kernel matrix as a numpy array |
source code
|
|
|
|
|
|
|
registerAttribute(self,
attributeName,
attributeValue=None,
action=None) |
source code
|
|
|
|
|
|
|
|
|
|