public class AccessibleRandomTree
extends weka.classifiers.trees.RandomTree
| Modifier and Type | Field and Description |
|---|---|
protected ai.libs.jaicore.ml.tsc.classifier.trees.AccessibleRandomTree.AccessibleTree |
tree
Internal tree object providing access to leaf node information.
|
m_AllowUnclassifiedInstances, m_BreakTiesRandomly, m_computeImpurityDecreases, m_impurityDecreasees, m_Info, m_KValue, m_MaxDepth, m_MinNum, m_MinVarianceProp, m_NumFolds, m_randomSeed, m_Tree, m_zeroR| Constructor and Description |
|---|
AccessibleRandomTree() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildClassifier(weka.core.Instances data) |
double[] |
distributionForInstance(weka.core.Instance instance) |
int |
getLastNode() |
ai.libs.jaicore.ml.tsc.classifier.trees.AccessibleRandomTree.AccessibleTree |
getMTree() |
int |
getNosLeafNodes() |
protected static double |
singleVariance(double s,
double sS,
double weight)
Computes the variance for a single set
|
allowUnclassifiedInstancesTipText, breakTiesRandomlyTipText, generatePartition, getAllowUnclassifiedInstances, getBreakTiesRandomly, getCapabilities, getComputeImpurityDecreases, getImpurityDecreases, getKValue, getM_Tree, getMaxDepth, getMembershipValues, getMinNum, getMinVarianceProp, getNumFolds, getOptions, getSeed, globalInfo, graph, graphType, KValueTipText, listOptions, main, maxDepthTipText, minNumTipText, minVariancePropTipText, numElements, numFoldsTipText, seedTipText, setAllowUnclassifiedInstances, setBreakTiesRandomly, setComputeImpurityDecreases, setKValue, setMaxDepth, setMinNum, setMinVarianceProp, setNumFolds, setOptions, setSeed, toString, variancebatchSizeTipText, classifyInstance, debugTipText, distributionsForInstances, doNotCheckCapabilitiesTipText, forName, getBatchSize, getDebug, getDoNotCheckCapabilities, getNumDecimalPlaces, getRevision, implementsMoreEfficientBatchPrediction, makeCopies, makeCopy, numDecimalPlacesTipText, postExecution, preExecution, run, runClassifier, setBatchSize, setDebug, setDoNotCheckCapabilities, setNumDecimalPlacesprotected ai.libs.jaicore.ml.tsc.classifier.trees.AccessibleRandomTree.AccessibleTree tree
public double[] distributionForInstance(weka.core.Instance instance)
throws java.lang.Exception
distributionForInstance in interface weka.classifiers.ClassifierdistributionForInstance in class weka.classifiers.trees.RandomTreejava.lang.Exceptionpublic void buildClassifier(weka.core.Instances data)
throws java.lang.Exception
buildClassifier in interface weka.classifiers.ClassifierbuildClassifier in class weka.classifiers.trees.RandomTreejava.lang.Exceptionpublic ai.libs.jaicore.ml.tsc.classifier.trees.AccessibleRandomTree.AccessibleTree getMTree()
public int getNosLeafNodes()
public int getLastNode()
protected static double singleVariance(double s,
double sS,
double weight)
s - sS - weight - the weight