Class ClassificationViaRegression

All Implemented Interfaces:
Serializable, Cloneable, Classifier, BatchPredictor, CapabilitiesHandler, CapabilitiesIgnorer, CommandlineRunnable, OptionHandler, RevisionHandler, TechnicalInformationHandler, WeightedInstancesHandler

public class ClassificationViaRegression extends SingleClassifierEnhancer implements TechnicalInformationHandler, WeightedInstancesHandler
Class for doing classification using regression methods. Class is binarized and one regression model is built for each class value. For more information, see, for example

E. Frank, Y. Wang, S. Inglis, G. Holmes, I.H. Witten (1998). Using model trees for classification. Machine Learning. 32(1):63-76.


    author = {E. Frank and Y. Wang and S. Inglis and G. Holmes and I.H. Witten},
    journal = {Machine Learning},
    number = {1},
    pages = {63-76},
    title = {Using model trees for classification},
    volume = {32},
    year = {1998}

Valid options are:

  If set, classifier is run in debug mode and
  may output additional info to the console
  Full name of base classifier.
  (default: weka.classifiers.trees.M5P)
 Options specific to classifier weka.classifiers.trees.M5P:
  Use unpruned tree/rules
  Use unsmoothed predictions
  Build regression tree/rule rather than a model tree/rule
 -M <minimum number of instances>
  Set minimum number of instances per leaf
  (default 4)
  Save instances at the nodes in
  the tree (for visualization purposes)
$Revision: 15481 $
Eibe Frank (, Len Trigg (
See Also: