|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aima.learning.learners.DecisionTreeLearner
public class DecisionTreeLearner
Constructor Summary | |
---|---|
DecisionTreeLearner()
|
|
DecisionTreeLearner(DecisionTree tree,
java.lang.String defaultValue)
|
Method Summary | |
---|---|
DecisionTree |
getDecisionTree()
|
java.lang.String |
predict(Example e)
|
int[] |
test(DataSet ds)
|
void |
train(DataSet ds)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DecisionTreeLearner()
public DecisionTreeLearner(DecisionTree tree, java.lang.String defaultValue)
Method Detail |
---|
public void train(DataSet ds)
train
in interface Learner
public java.lang.String predict(Example e)
predict
in interface Learner
public int[] test(DataSet ds)
test
in interface Learner
public DecisionTree getDecisionTree()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |