public static class HoeffdingTree.SplitNode extends HoeffdingTree.Node
| Modifier and Type | Field and Description |
|---|---|
protected AutoExpandVector<HoeffdingTree.Node> |
children |
protected InstanceConditionalTest |
splitTest |
observedClassDistribution| Constructor and Description |
|---|
HoeffdingTree.SplitNode(InstanceConditionalTest splitTest,
double[] classObservations) |
HoeffdingTree.SplitNode(InstanceConditionalTest splitTest,
double[] classObservations,
int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
calcByteSize() |
int |
calcByteSizeIncludingSubtree() |
void |
describeSubtree(HoeffdingTree ht,
StringBuilder out,
int indent) |
HoeffdingTree.FoundNode |
filterInstanceToLeaf(weka.core.Instance inst,
HoeffdingTree.SplitNode parent,
int parentBranch) |
HoeffdingTree.Node |
getChild(int index) |
int |
instanceChildIndex(weka.core.Instance inst) |
boolean |
isLeaf() |
int |
numChildren() |
void |
setChild(int index,
HoeffdingTree.Node child) |
int |
subtreeDepth() |
calculatePromise, getClassVotes, getDescription, getObservedClassDistribution, observedClassDistributionIsPurecopy, copy, measureByteSize, measureByteSize, toStringprotected InstanceConditionalTest splitTest
protected AutoExpandVector<HoeffdingTree.Node> children
public HoeffdingTree.SplitNode(InstanceConditionalTest splitTest, double[] classObservations, int size)
public HoeffdingTree.SplitNode(InstanceConditionalTest splitTest, double[] classObservations)
public int calcByteSize()
calcByteSize in class HoeffdingTree.Nodepublic int calcByteSizeIncludingSubtree()
calcByteSizeIncludingSubtree in class HoeffdingTree.Nodepublic int numChildren()
public void setChild(int index,
HoeffdingTree.Node child)
public HoeffdingTree.Node getChild(int index)
public int instanceChildIndex(weka.core.Instance inst)
public boolean isLeaf()
isLeaf in class HoeffdingTree.Nodepublic HoeffdingTree.FoundNode filterInstanceToLeaf(weka.core.Instance inst, HoeffdingTree.SplitNode parent, int parentBranch)
filterInstanceToLeaf in class HoeffdingTree.Nodepublic void describeSubtree(HoeffdingTree ht, StringBuilder out, int indent)
describeSubtree in class HoeffdingTree.Nodepublic int subtreeDepth()
subtreeDepth in class HoeffdingTree.NodeCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.