public class M5P extends M5Base implements Drawable
 @inproceedings{Quinlan1992,
    address = {Singapore},
    author = {Ross J. Quinlan},
    booktitle = {5th Australian Joint Conference on Artificial Intelligence},
    pages = {343-348},
    publisher = {World Scientific},
    title = {Learning with Continuous Classes},
    year = {1992}
 }
 
 @inproceedings{Wang1997,
    author = {Y. Wang and I. H. Witten},
    booktitle = {Poster papers of the 9th European Conference on Machine Learning},
    publisher = {Springer},
    title = {Induction of model trees for predicting continuous classes},
    year = {1997}
 }
 
 
 
 
  Valid options are:
 
 
 -N Use unpruned tree/rules
-U Use unsmoothed predictions
-R Build regression tree/rule rather than a model tree/rule
-M <minimum number of instances> Set minimum number of instances per leaf (default 4)
-L Save instances at the nodes in the tree (for visualization purposes)
BATCH_SIZE_DEFAULT, NUM_DECIMAL_PLACES_DEFAULTBayesNet, Newick, NOT_DRAWABLE, TREE| Constructor and Description | 
|---|
| M5P()Creates a new  M5Pinstance. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String[] | getOptions()Gets the current settings of the classifier. | 
| java.lang.String | getRevision()Returns the revision string. | 
| boolean | getSaveInstances()Get whether instance data is being save. | 
| java.lang.String | globalInfo()returns information about the classifier | 
| java.lang.String | graph()Return a dot style String describing the tree. | 
| int | graphType()Returns the type of graph this classifier represents. | 
| java.util.Enumeration<Option> | listOptions()Returns an enumeration describing the available options | 
| static void | main(java.lang.String[] args)Main method by which this class can be tested | 
| java.lang.String | saveInstancesTipText()Returns the tip text for this property | 
| void | setOptions(java.lang.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 | 
buildClassifier, buildRegressionTreeTipText, classifyInstance, enumerateMeasures, generateRulesTipText, getBuildRegressionTree, getCapabilities, getM5RootNode, getMeasure, getMinNumInstances, getTechnicalInformation, getUnpruned, getUseUnsmoothed, measureNumRules, minNumInstancesTipText, setBuildRegressionTree, setMinNumInstances, setUnpruned, setUseUnsmoothed, toString, unprunedTipText, useUnsmoothedTipTextbatchSizeTipText, debugTipText, distributionForInstance, distributionsForInstances, doNotCheckCapabilitiesTipText, forName, getBatchSize, getDebug, getDoNotCheckCapabilities, getNumDecimalPlaces, implementsMoreEfficientBatchPrediction, makeCopies, makeCopy, numDecimalPlacesTipText, postExecution, preExecution, run, runClassifier, setBatchSize, setDebug, setDoNotCheckCapabilities, setNumDecimalPlacesequals, getClass, hashCode, notify, notifyAll, wait, wait, waitmakeCopypublic java.lang.String globalInfo()
public int graphType()
public java.lang.String graph()
                       throws java.lang.Exception
public java.lang.String saveInstancesTipText()
public void setSaveInstances(boolean save)
save - a boolean valuepublic boolean getSaveInstances()
boolean valuepublic java.util.Enumeration<Option> listOptions()
listOptions in interface OptionHandlerlistOptions in class M5Basepublic void setOptions(java.lang.String[] options)
                throws java.lang.Exception
-N Use unpruned tree/rules
-U Use unsmoothed predictions
-R Build regression tree/rule rather than a model tree/rule
-M <minimum number of instances> Set minimum number of instances per leaf (default 4)
-L Save instances at the nodes in the tree (for visualization purposes)
setOptions in interface OptionHandlersetOptions in class M5Baseoptions - the list of options as an array of stringsjava.lang.Exception - if an option is not supportedpublic java.lang.String[] getOptions()
getOptions in interface OptionHandlergetOptions in class M5Basepublic java.lang.String getRevision()
getRevision in interface RevisionHandlergetRevision in class AbstractClassifierpublic static void main(java.lang.String[] args)
args - an array of options