public static class HoeffdingOptionTree.SplitNode extends HoeffdingOptionTree.Node
| Modifier and Type | Field and Description |
|---|---|
protected AutoExpandVector<HoeffdingOptionTree.Node> |
children |
protected HoeffdingOptionTree.Node |
nextOption |
protected int |
optionCount |
protected HoeffdingOptionTree.SplitNode |
parent |
protected InstanceConditionalTest |
splitTest |
observedClassDistribution| Constructor and Description |
|---|
HoeffdingOptionTree.SplitNode(InstanceConditionalTest splitTest,
double[] classObservations) |
| Modifier and Type | Method and Description |
|---|---|
int |
calcByteSize() |
int |
calcByteSizeIncludingSubtree() |
double |
computeMeritOfExistingSplit(SplitCriterion splitCriterion,
double[] preDist) |
void |
describeSubtree(HoeffdingOptionTree ht,
StringBuilder out,
int indent) |
void |
filterInstanceToLeaves(weka.core.Instance inst,
HoeffdingOptionTree.SplitNode myparent,
int parentBranch,
List<HoeffdingOptionTree.FoundNode> foundNodes,
boolean updateSplitterCounts) |
HoeffdingOptionTree.Node |
getChild(int index) |
int |
getHeadOptionCount() |
int |
instanceChildIndex(weka.core.Instance inst) |
boolean |
isLeaf() |
int |
numChildren() |
void |
setChild(int index,
HoeffdingOptionTree.Node child) |
int |
subtreeDepth() |
void |
updateOptionCount(HoeffdingOptionTree.SplitNode source,
HoeffdingOptionTree hot) |
void |
updateOptionCountBelow(int delta,
HoeffdingOptionTree hot) |
calculatePromise, filterInstanceToLeaves, getClassVotes, getDescription, getObservedClassDistribution, observedClassDistributionIsPurecopy, copy, measureByteSize, measureByteSize, toStringprotected InstanceConditionalTest splitTest
protected HoeffdingOptionTree.SplitNode parent
protected HoeffdingOptionTree.Node nextOption
protected int optionCount
protected AutoExpandVector<HoeffdingOptionTree.Node> children
public HoeffdingOptionTree.SplitNode(InstanceConditionalTest splitTest, double[] classObservations)
public int calcByteSize()
calcByteSize in class HoeffdingOptionTree.Nodepublic int calcByteSizeIncludingSubtree()
calcByteSizeIncludingSubtree in class HoeffdingOptionTree.Nodepublic int numChildren()
public void setChild(int index,
HoeffdingOptionTree.Node child)
public HoeffdingOptionTree.Node getChild(int index)
public int instanceChildIndex(weka.core.Instance inst)
public boolean isLeaf()
isLeaf in class HoeffdingOptionTree.Nodepublic void filterInstanceToLeaves(weka.core.Instance inst,
HoeffdingOptionTree.SplitNode myparent,
int parentBranch,
List<HoeffdingOptionTree.FoundNode> foundNodes,
boolean updateSplitterCounts)
filterInstanceToLeaves in class HoeffdingOptionTree.Nodepublic void describeSubtree(HoeffdingOptionTree ht, StringBuilder out, int indent)
describeSubtree in class HoeffdingOptionTree.Nodepublic int subtreeDepth()
subtreeDepth in class HoeffdingOptionTree.Nodepublic double computeMeritOfExistingSplit(SplitCriterion splitCriterion, double[] preDist)
public void updateOptionCount(HoeffdingOptionTree.SplitNode source, HoeffdingOptionTree hot)
public void updateOptionCountBelow(int delta,
HoeffdingOptionTree hot)
public int getHeadOptionCount()
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.