com.ibm.able.beans.decisiontree
Class DecisionTree
java.lang.Object
|
+--com.ibm.able.beans.decisiontree.LearningAlgorithm
|
+--com.ibm.able.beans.decisiontree.DecisionTree
- All Implemented Interfaces:
- java.io.Serializable
- public class DecisionTree
- extends LearningAlgorithm
- implements java.io.Serializable
class DecisionTree
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Copyright
public static final java.lang.String Copyright
TRAIN
public static final short TRAIN
TEST
public static final short TEST
RUN
public static final short RUN
DecisionTree
public DecisionTree()
- constructor
readOptions
public void readOptions()
- readOptions
buildHypothesis
public void buildHypothesis(Data data)
- buildHypothesis
- Overrides:
buildHypothesis
in class LearningAlgorithm
getRoot
public TreeNode getRoot()
pruneHypothesis
public void pruneHypothesis(Data data)
- pruneHypothesis
- Overrides:
pruneHypothesis
in class LearningAlgorithm
printHypothesis
public void printHypothesis(Data data)
- printHypothesis
- Overrides:
printHypothesis
in class LearningAlgorithm
outputStats
public void outputStats()
- outputStats
- Overrides:
outputStats
in class LearningAlgorithm
classifyBatch
public void classifyBatch(Data data)
- classifyBatch
classifyOneExample
public short classifyOneExample(Data data,
short[] example)
- classifyOneExample
(C) Copyright IBM Corporation 1999, 2003