RandomTree (original) (raw)

Modifier and Type

Method and Description

java.lang.String

[allowUnclassifiedInstancesTipText](../../../weka/classifiers/trees/RandomTree.html#allowUnclassifiedInstancesTipText--)()

Returns the tip text for this property

void

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

Builds classifier.

double[]

[distributionForInstance](../../../weka/classifiers/trees/RandomTree.html#distributionForInstance-weka.core.Instance-)([Instance](../../../weka/core/Instance.html "class in weka.core") instance)

Computes class distribution of an instance using the tree.

void

[generatePartition](../../../weka/classifiers/trees/RandomTree.html#generatePartition-weka.core.Instances-)([Instances](../../../weka/core/Instances.html "class in weka.core") data)

Builds the classifier to generate a partition.

boolean

[getAllowUnclassifiedInstances](../../../weka/classifiers/trees/RandomTree.html#getAllowUnclassifiedInstances--)()

Get the value of NumFolds.

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

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

Returns default capabilities of the classifier.

int

[getKValue](../../../weka/classifiers/trees/RandomTree.html#getKValue--)()

Get the value of K.

int

[getMaxDepth](../../../weka/classifiers/trees/RandomTree.html#getMaxDepth--)()

Get the maximum depth of trh tree, 0 for unlimited.

double[]

[getMembershipValues](../../../weka/classifiers/trees/RandomTree.html#getMembershipValues-weka.core.Instance-)([Instance](../../../weka/core/Instance.html "class in weka.core") instance)

Computes array that indicates node membership.

double

[getMinNum](../../../weka/classifiers/trees/RandomTree.html#getMinNum--)()

Get the value of MinNum.

int

[getNumFolds](../../../weka/classifiers/trees/RandomTree.html#getNumFolds--)()

Get the value of NumFolds.

java.lang.String[]

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

Gets options from this classifier.

int

[getSeed](../../../weka/classifiers/trees/RandomTree.html#getSeed--)()

Gets the seed for the random number generations

java.lang.String

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

Returns a string describing classifier

java.lang.String

[graph](../../../weka/classifiers/trees/RandomTree.html#graph--)()

Returns graph describing the tree.

int

[graphType](../../../weka/classifiers/trees/RandomTree.html#graphType--)()

Returns the type of graph this classifier represents.

java.lang.String

[KValueTipText](../../../weka/classifiers/trees/RandomTree.html#KValueTipText--)()

Returns the tip text for this property

java.util.Enumeration

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

Lists the command-line options for this classifier.

static void

[main](../../../weka/classifiers/trees/RandomTree.html#main-java.lang.String:A-)(java.lang.String[] argv)

Main method for this class.

java.lang.String

[maxDepthTipText](../../../weka/classifiers/trees/RandomTree.html#maxDepthTipText--)()

Returns the tip text for this property

java.lang.String

[minNumTipText](../../../weka/classifiers/trees/RandomTree.html#minNumTipText--)()

Returns the tip text for this property

int

[numElements](../../../weka/classifiers/trees/RandomTree.html#numElements--)()

Returns the number of elements in the partition.

java.lang.String

[numFoldsTipText](../../../weka/classifiers/trees/RandomTree.html#numFoldsTipText--)()

Returns the tip text for this property

java.lang.String

[seedTipText](../../../weka/classifiers/trees/RandomTree.html#seedTipText--)()

Returns the tip text for this property

void

[setAllowUnclassifiedInstances](../../../weka/classifiers/trees/RandomTree.html#setAllowUnclassifiedInstances-boolean-)(boolean newAllowUnclassifiedInstances)

Set the value of AllowUnclassifiedInstances.

void

[setKValue](../../../weka/classifiers/trees/RandomTree.html#setKValue-int-)(int k)

Set the value of K.

void

[setMaxDepth](../../../weka/classifiers/trees/RandomTree.html#setMaxDepth-int-)(int value)

Set the maximum depth of the tree, 0 for unlimited.

void

[setMinNum](../../../weka/classifiers/trees/RandomTree.html#setMinNum-double-)(double newMinNum)

Set the value of MinNum.

void

[setNumFolds](../../../weka/classifiers/trees/RandomTree.html#setNumFolds-int-)(int newNumFolds)

Set the value of NumFolds.

void

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

Parses a given list of options.

void

[setSeed](../../../weka/classifiers/trees/RandomTree.html#setSeed-int-)(int seed)

Set the seed for random number generation.

java.lang.String

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

Outputs the decision tree.