All Packages Class Hierarchy This Package Previous Next Index WEKA's home
java.lang.Object | +----weka.classifiers.Classifier | +----weka.classifiers.m5.M5Prime
Reference: Wang, Y. and Witten, I.H. (1997). Induction of model trees for predicting continuous classes. Proceedings of the poster papers of the European Conference on Machine Learning. University of Economics, Faculty of Informatics and Statistics, Prague.
Valid options are:
-O
-U
-F factor
-V <0|1|2>
-O
-U
-F factor
-V <0|1|2>
Type of model to be used. (l: linear regression,
r: regression tree, m: model tree) (default: m)
Use unsmoothed tree.
Set pruning factor (default: 2).
Verbosity (default: 0).
MODEL_LINEAR_REGRESSION
public static final int MODEL_LINEAR_REGRESSION
MODEL_REGRESSION_TREE
public static final int MODEL_REGRESSION_TREE
MODEL_MODEL_TREE
public static final int MODEL_MODEL_TREE
TAGS_MODEL_TYPES
public static final Tag TAGS_MODEL_TYPES[]
M5Prime
public M5Prime()
buildClassifier
public final void buildClassifier(Instances inst) throws Exception
classifyInstance
public double classifyInstance(Instance ins) throws Exception
listOptions
public Enumeration listOptions()
setOptions
Type of model to be used. (l: linear regression,
r: regression tree, m: model tree) (default: m)
Use unsmoothed tree.
Set pruning factor (default: 2).
Verbosity (default: 0).
public void setOptions(String options[]) throws Exception
getOptions
public String[] getOptions()
toString
public final String toString()
getUseUnsmoothed
public boolean getUseUnsmoothed()
setUseUnsmoothed
public void setUseUnsmoothed(boolean v)
getPruningFactor
public double getPruningFactor()
setPruningFactor
public void setPruningFactor(double v)
getModelType
public SelectedTag getModelType()
setModelType
public void setModelType(SelectedTag newMethod)
getVerbosity
public int getVerbosity()
setVerbosity
public void setVerbosity(int v)
main
public static void main(String argv[])
All Packages Class Hierarchy This Package Previous Next Index WEKA's home