public class MCTreeNodeLeaf extends MCTreeNode
cacheRetrievals| Constructor and Description |
|---|
MCTreeNodeLeaf(int classIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(MCTreeNode newNode) |
void |
buildClassifier(weka.core.Instances data) |
double |
classifyInstance(weka.core.Instance instance) |
double[] |
distributionForInstance(weka.core.Instance instance) |
void |
distributionForInstance(weka.core.Instance instance,
double[] distribution) |
weka.core.Capabilities |
getCapabilities() |
int |
getHeight() |
boolean |
isCompletelyConfigured() |
java.lang.String |
toString() |
java.lang.String |
toStringWithOffset(java.lang.String offset) |
clearCache, getChildren, getClassifier, getClassifierCache, getContainedClasses, getDepthOfFirstCommonParent, getNodeType, iterator, setBaseClassifier, setNodeType, toStringWithOffsetpublic void addChild(MCTreeNode newNode)
addChild in class MCTreeNodepublic void buildClassifier(weka.core.Instances data)
throws java.lang.Exception
buildClassifier in interface weka.classifiers.ClassifierbuildClassifier in class MCTreeNodejava.lang.Exceptionpublic double classifyInstance(weka.core.Instance instance)
throws java.lang.Exception
classifyInstance in interface ITreeClassifierclassifyInstance in interface weka.classifiers.ClassifierclassifyInstance in class MCTreeNodejava.lang.Exceptionpublic void distributionForInstance(weka.core.Instance instance,
double[] distribution)
throws java.lang.Exception
distributionForInstance in class MCTreeNodejava.lang.Exceptionpublic double[] distributionForInstance(weka.core.Instance instance)
throws java.lang.Exception
distributionForInstance in interface weka.classifiers.ClassifierdistributionForInstance in class MCTreeNodejava.lang.Exceptionpublic int getHeight()
getHeight in interface ITreeClassifiergetHeight in class MCTreeNodepublic weka.core.Capabilities getCapabilities()
getCapabilities in interface weka.classifiers.ClassifiergetCapabilities in class MCTreeNodepublic java.lang.String toString()
toString in class MCTreeNodepublic boolean isCompletelyConfigured()
isCompletelyConfigured in class MCTreeNodepublic java.lang.String toStringWithOffset(java.lang.String offset)
toStringWithOffset in class MCTreeNode