|
|
__init__(self,
arg=None,
**args)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
save(self,
fileName,
**args)
save a dataset to a file (does not use pickle!) |
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
|
|
|
|
featureNames2IDs(self,
featureList)
convert a list of feature Names into their numeric IDs |
source code
|
|
|
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__str__
|
|
|
| attachKernel(self,
kernel='linear',
**args) |
source code
|
|
|
|
|
|
|
copy(self,
other,
patterns,
deepcopy)
Each class that wants to use the generic copy constructor needs to
define this function for doing class-specific copying |
source code
|
|
|
|
|
|
|
getKernelMatrix(self)
returns the kernel matrix as a numpy array |
source code
|
|
|
|
|
|
|
|
|
|
| registerAttribute(self,
attributeName,
attributeValue=None,
action=None) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|