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, splitTest
observedClassDistribution
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, subtreeDepth
calculatePromise, getClassVotes, getDescription, getObservedClassDistribution, observedClassDistributionIsPure
copy, copy, measureByteSize, measureByteSize, toString
protected 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.SplitNode
public int numberLeaves()
numberLeaves
in interface HoeffdingAdaptiveTree.NewNode
public double getErrorEstimation()
getErrorEstimation
in interface HoeffdingAdaptiveTree.NewNode
public double getErrorWidth()
getErrorWidth
in interface HoeffdingAdaptiveTree.NewNode
public boolean isNullError()
isNullError
in interface HoeffdingAdaptiveTree.NewNode
public void learnFromInstance(weka.core.Instance inst, HoeffdingAdaptiveTree ht, HoeffdingTree.SplitNode parent, int parentBranch)
learnFromInstance
in interface HoeffdingAdaptiveTree.NewNode
public void killTreeChilds(HoeffdingAdaptiveTree ht)
killTreeChilds
in interface HoeffdingAdaptiveTree.NewNode
public void filterInstanceToLeaves(weka.core.Instance inst, HoeffdingTree.SplitNode myparent, int parentBranch, List<HoeffdingTree.FoundNode> foundNodes, boolean updateSplitterCounts)
filterInstanceToLeaves
in interface HoeffdingAdaptiveTree.NewNode
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.