
aima.core.learning.learners.StumpLearner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aima-core Show documentation
Show all versions of aima-core Show documentation
AIMA-Java Core Algorithms from the book Artificial Intelligence a Modern Approach 3rd Ed.
package aima.core.learning.learners;
import aima.core.learning.framework.DataSet;
import aima.core.learning.inductive.DecisionTree;
/**
* @author Ravi Mohan
*
*/
public class StumpLearner extends DecisionTreeLearner {
public StumpLearner(DecisionTree sl, String unable_to_classify) {
super(sl, unable_to_classify);
}
@Override
public void train(DataSet ds) {
// System.out.println("Stump learner training");
// do nothing the stump is not inferred from the dataset
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy