001    /*
002     * Created on Jul 31, 2005
003     *
004     */
005    package aima.learning.learners;
006    
007    import aima.learning.framework.DataSet;
008    import aima.learning.inductive.DecisionTree;
009    
010    /**
011     * @author Ravi Mohan
012     * 
013     */
014    
015    public class StumpLearner extends DecisionTreeLearner {
016    
017            public StumpLearner(DecisionTree sl, String unable_to_classify) {
018                    super(sl, unable_to_classify);
019            }
020    
021            @Override
022            public void train(DataSet ds) {
023                    // System.out.println("Stump learner training");
024                    // do nothing the stump is not inferred from the dataset
025            }
026    
027    }