aima.learning.learners
Class StumpLearner

java.lang.Object
  extended by aima.learning.learners.DecisionTreeLearner
      extended by aima.learning.learners.StumpLearner
All Implemented Interfaces:
Learner

public class StumpLearner
extends DecisionTreeLearner


Constructor Summary
StumpLearner(DecisionTree sl, java.lang.String unable_to_classify)
           
 
Method Summary
 void train(DataSet ds)
           
 
Methods inherited from class aima.learning.learners.DecisionTreeLearner
getDecisionTree, predict, test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StumpLearner

public StumpLearner(DecisionTree sl,
                    java.lang.String unable_to_classify)
Method Detail

train

public void train(DataSet ds)
Specified by:
train in interface Learner
Overrides:
train in class DecisionTreeLearner