|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDecisionTree
DecisionTreeInternal
public class DecisionTreeInternal
Represents an internal node in a decision tree.
Field Summary |
---|
Fields inherited from class DecisionTree |
---|
ROOT_LABEL |
Method Summary | |
---|---|
java.lang.String |
decide(AttributeSet attributes,
Instance instance)
Return the decision tree's decision for the given instance: that is, the classification that should be assigned to the instance. |
void |
print()
Print out the DecisionTree in a human-readable form |
Methods inherited from class DecisionTree |
---|
computeErrorRate, constructDecisionTree, main, printDecisions |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String decide(AttributeSet attributes, Instance instance)
DecisionTree
decide
in class DecisionTree
attributes
- The set of attributes employed by the instance.instance
- The instance to be classified.
public void print()
DecisionTree
print
in class DecisionTree
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |