Example usage for Java weka.classifiers.trees M5P fields, constructors, methods, implement or subclass
The text is from its open source code.
M5P() Creates a new M5P instance. |
void | buildClassifier(Instances data) Generates the classifier. |
double | classifyInstance(Instance inst) Calculates a prediction for an instance using a set of rules or an M5 model tree |
RuleNode | getM5RootNode() |
String | graph() Return a dot style String describing the tree. |
void | setMinNumInstances(double minNum) Set the minimum number of instances to allow at a leaf node |
void | setOptions(String[] options) Parses a given list of options. |
void | setSaveInstances(boolean save) Set whether to save instance data at each node in the tree for visualization purposes |