Trees | Indices | Help |
|
---|
|
object --+ | Labels
A class that holds the labels of a dataset.
Attributes:
L - labels provided by the user (strings) Y - internal label representation - an integer from 0 to numClasses - 1 for multilabel problems each pattern has a list of integer labels patternID - a list of the ids of each pattern classDict - a mapping from L to Y classLabels - a list providing the name of class i classSize - a list with the number of patterns in each class numClasses - the number of classes in the data
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
repr(x)
|
Merge a list of classes into a new class.
Parameters: |
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri May 2 12:39:29 2008 | http://epydoc.sourceforge.net |