public class StumpLearner extends DecisionTreeLearner
| Constructor and Description |
|---|
StumpLearner(DecisionTree sl,
java.lang.String unable_to_classify) |
| Modifier and Type | Method and Description |
|---|---|
void |
train(DataSet ds)
Induces the decision tree from the specified set of examples
|
getDecisionTree, predict, testpublic StumpLearner(DecisionTree sl, java.lang.String unable_to_classify)
public void train(DataSet ds)
DecisionTreeLearnertrain in interface Learnertrain in class DecisionTreeLearnerds - a set of examples for constructing the decision tree