public static class HoeffdingAdaptiveTree.AdaSplitNode extends HoeffdingTree.SplitNode implements HoeffdingAdaptiveTree.NewNode
| Modifier and Type | Field and Description |
|---|---|
protected HoeffdingTree.Node |
alternateTree |
protected Random |
classifierRandom |
boolean |
ErrorChange |
protected ADWIN |
estimationErrorWeight |
protected int |
randomSeed |
children, splitTestobservedClassDistribution| Constructor and Description |
|---|
HoeffdingAdaptiveTree.AdaSplitNode(InstanceConditionalTest splitTest,
double[] classObservations) |
HoeffdingAdaptiveTree.AdaSplitNode(InstanceConditionalTest splitTest,
double[] classObservations,
int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
calcByteSizeIncludingSubtree() |
void |
filterInstanceToLeaves(weka.core.Instance inst,
HoeffdingTree.SplitNode myparent,
int parentBranch,
List<HoeffdingTree.FoundNode> foundNodes,
boolean updateSplitterCounts) |
double |
getErrorEstimation() |
double |
getErrorWidth() |
boolean |
isNullError() |
void |
killTreeChilds(HoeffdingAdaptiveTree ht) |
void |
learnFromInstance(weka.core.Instance inst,
HoeffdingAdaptiveTree ht,
HoeffdingTree.SplitNode parent,
int parentBranch) |
int |
numberLeaves() |
calcByteSize, describeSubtree, filterInstanceToLeaf, getChild, instanceChildIndex, isLeaf, numChildren, setChild, subtreeDepthcalculatePromise, getClassVotes, getDescription, getObservedClassDistribution, observedClassDistributionIsPurecopy, copy, measureByteSize, measureByteSize, toStringprotected HoeffdingTree.Node alternateTree
protected ADWIN estimationErrorWeight
public boolean ErrorChange
protected int randomSeed
protected Random classifierRandom
public HoeffdingAdaptiveTree.AdaSplitNode(InstanceConditionalTest splitTest, double[] classObservations, int size)
public HoeffdingAdaptiveTree.AdaSplitNode(InstanceConditionalTest splitTest, double[] classObservations)
public int calcByteSizeIncludingSubtree()
calcByteSizeIncludingSubtree in class HoeffdingTree.SplitNodepublic int numberLeaves()
numberLeaves in interface HoeffdingAdaptiveTree.NewNodepublic double getErrorEstimation()
getErrorEstimation in interface HoeffdingAdaptiveTree.NewNodepublic double getErrorWidth()
getErrorWidth in interface HoeffdingAdaptiveTree.NewNodepublic boolean isNullError()
isNullError in interface HoeffdingAdaptiveTree.NewNodepublic void learnFromInstance(weka.core.Instance inst,
HoeffdingAdaptiveTree ht,
HoeffdingTree.SplitNode parent,
int parentBranch)
learnFromInstance in interface HoeffdingAdaptiveTree.NewNodepublic void killTreeChilds(HoeffdingAdaptiveTree ht)
killTreeChilds in interface HoeffdingAdaptiveTree.NewNodepublic void filterInstanceToLeaves(weka.core.Instance inst,
HoeffdingTree.SplitNode myparent,
int parentBranch,
List<HoeffdingTree.FoundNode> foundNodes,
boolean updateSplitterCounts)
filterInstanceToLeaves in interface HoeffdingAdaptiveTree.NewNodeCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.