Trees | Indices | Help |
|
---|
|
object --+ | baseDatasets.BaseDataSet --+ | baseDatasets.WrapperDataSet --+ | ext.ckerneldata._object --+ | | | ext.ckerneldata.DataSet --+ | | | ext.ckerneldata.KernelData --+ | KernelData
A container for holding a dataset with a dot product derived from a pre-computed kernel matrix
File format: delimited file with the first column interpreted as pattern IDs if it is non-numeric; comments can appear with # or % gist format is accepted as well.
Construction:
Copy construction: KernelData(other) optional keyword arguments are the same as other dataset containers Construction from file: KernelData(matrixFile [,labelsFile = labelsFileName, gistFormat = True]) matrixFile -- a file with the kernel matrix labelsFile -- keyword argument containing a file name with the labels. the parser tries to automatically guess if the file is in GIST format; in case this is not detected, use the 'gistFormat' keyword argument. A matrix file with labels in it is not supported yet. additional keyword arguments are the same as those supporting reading of delimited files.
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from |
|||
Inherited from baseDatasets.WrapperDataSet | |||
---|---|---|---|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from baseDatasets.BaseDataSet | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from ext.ckerneldata.KernelData | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from ext.ckerneldata.DataSet | |||
|
|||
|
|||
|
|||
|
Class Variables | |
isVector = False
|
|
Inherited from baseDatasets.WrapperDataSet | |
---|---|
X = property(getX, setX, None, 'X')
|
|
isWrapper = True
|
|
kernel = property(get_kernel, set_kernel, None, 'kernel')
|
|
Inherited from baseDatasets.BaseDataSet | |
testingFunc = property(getTestingFunc, setTestingFunc, None, '
|
|
trainingFunc = property(getTrainingFunc, setTrainingFunc, None
|
|
type = 'dataset'
|
|
Inherited from ext.ckerneldata.KernelData | |
__del__ = lambda self:
|
|
__getattr__ = lambda self, name:
|
|
__swig_destroy__ = _ckerneldata.delete_KernelData
|
|
__swig_getmethods__ = {}
|
|
__swig_setmethods__ = {}
|
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Each class that wants to use the generic copy constructor needs to define this function for doing class-specific copying
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri May 2 12:39:29 2008 | http://epydoc.sourceforge.net |