|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectaima.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 Learnerpublic java.lang.String predict(Example e)
predict in interface Learnerpublic int[] test(DataSet ds)
test in interface Learnerpublic DecisionTree getDecisionTree()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||