M5Base (original) (raw)

Modifier and Type

Method and Description

void

[buildClassifier](../../../../weka/classifiers/trees/m5/M5Base.html#buildClassifier-weka.core.Instances-)([Instances](../../../../weka/core/Instances.html "class in weka.core") data)

Generates the classifier.

java.lang.String

[buildRegressionTreeTipText](../../../../weka/classifiers/trees/m5/M5Base.html#buildRegressionTreeTipText--)()

Returns the tip text for this property

double

[classifyInstance](../../../../weka/classifiers/trees/m5/M5Base.html#classifyInstance-weka.core.Instance-)([Instance](../../../../weka/core/Instance.html "class in weka.core") inst)

Calculates a prediction for an instance using a set of rules or an M5 model tree

java.util.Enumeration

[enumerateMeasures](../../../../weka/classifiers/trees/m5/M5Base.html#enumerateMeasures--)()

Returns an enumeration of the additional measure names

java.lang.String

[generateRulesTipText](../../../../weka/classifiers/trees/m5/M5Base.html#generateRulesTipText--)()

Returns the tip text for this property

boolean

[getBuildRegressionTree](../../../../weka/classifiers/trees/m5/M5Base.html#getBuildRegressionTree--)()

Get the value of regressionTree.

[Capabilities](../../../../weka/core/Capabilities.html "class in weka.core")

[getCapabilities](../../../../weka/classifiers/trees/m5/M5Base.html#getCapabilities--)()

Returns default capabilities of the classifier, i.e., of LinearRegression.

[RuleNode](../../../../weka/classifiers/trees/m5/RuleNode.html "class in weka.classifiers.trees.m5")

[getM5RootNode](../../../../weka/classifiers/trees/m5/M5Base.html#getM5RootNode--)()

double

[getMeasure](../../../../weka/classifiers/trees/m5/M5Base.html#getMeasure-java.lang.String-)(java.lang.String additionalMeasureName)

Returns the value of the named measure

double

[getMinNumInstances](../../../../weka/classifiers/trees/m5/M5Base.html#getMinNumInstances--)()

Get the minimum number of instances to allow at a leaf node

java.lang.String[]

[getOptions](../../../../weka/classifiers/trees/m5/M5Base.html#getOptions--)()

Gets the current settings of the classifier.

[TechnicalInformation](../../../../weka/core/TechnicalInformation.html "class in weka.core")

[getTechnicalInformation](../../../../weka/classifiers/trees/m5/M5Base.html#getTechnicalInformation--)()

Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.

boolean

[getUnpruned](../../../../weka/classifiers/trees/m5/M5Base.html#getUnpruned--)()

Get whether unpruned tree/rules are being generated

boolean

[getUseUnsmoothed](../../../../weka/classifiers/trees/m5/M5Base.html#getUseUnsmoothed--)()

Get whether or not smoothing is being used

java.lang.String

[globalInfo](../../../../weka/classifiers/trees/m5/M5Base.html#globalInfo--)()

returns information about the classifier

java.util.Enumeration

[listOptions](../../../../weka/classifiers/trees/m5/M5Base.html#listOptions--)()

Returns an enumeration describing the available options

double

[measureNumRules](../../../../weka/classifiers/trees/m5/M5Base.html#measureNumRules--)()

return the number of rules

java.lang.String

[minNumInstancesTipText](../../../../weka/classifiers/trees/m5/M5Base.html#minNumInstancesTipText--)()

Returns the tip text for this property

void

[setBuildRegressionTree](../../../../weka/classifiers/trees/m5/M5Base.html#setBuildRegressionTree-boolean-)(boolean newregressionTree)

Set the value of regressionTree.

void

[setMinNumInstances](../../../../weka/classifiers/trees/m5/M5Base.html#setMinNumInstances-double-)(double minNum)

Set the minimum number of instances to allow at a leaf node

void

[setOptions](../../../../weka/classifiers/trees/m5/M5Base.html#setOptions-java.lang.String:A-)(java.lang.String[] options)

Parses a given list of options.

void

[setUnpruned](../../../../weka/classifiers/trees/m5/M5Base.html#setUnpruned-boolean-)(boolean unpruned)

Use unpruned tree/rules

void

[setUseUnsmoothed](../../../../weka/classifiers/trees/m5/M5Base.html#setUseUnsmoothed-boolean-)(boolean s)

Use unsmoothed predictions

java.lang.String

[toString](../../../../weka/classifiers/trees/m5/M5Base.html#toString--)()

Returns a description of the classifier

java.lang.String

[unprunedTipText](../../../../weka/classifiers/trees/m5/M5Base.html#unprunedTipText--)()

Returns the tip text for this property

java.lang.String

[useUnsmoothedTipText](../../../../weka/classifiers/trees/m5/M5Base.html#useUnsmoothedTipText--)()

Returns the tip text for this property