|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.classifiers.meta.MultiClassClassifier.Code
weka.classifiers.meta.MultiClassClassifier.ExhaustiveCode
Constructs an exhaustive code assignment
Field Summary | |
protected boolean[][] |
m_Codebits
Subclasses must allocate and fill these. |
Constructor Summary | |
MultiClassClassifier.ExhaustiveCode(int numClasses)
|
Method Summary | |
java.lang.String |
getIndices(int which)
Returns the indices of the values set to true for this code, using 1-based indexing (for input to Range). |
int |
size()
Returns the number of codes. |
java.lang.String |
toString()
Returns a human-readable representation of the codes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected boolean[][] m_Codebits
Constructor Detail |
public MultiClassClassifier.ExhaustiveCode(int numClasses)
Method Detail |
public int size()
public java.lang.String getIndices(int which)
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |