public static class HoeffdingAdaptiveTree.AdaLearningNode extends HoeffdingTree.LearningNodeNBAdaptive implements HoeffdingAdaptiveTree.NewNode
Modifier and Type | Field and Description |
---|---|
protected Random |
classifierRandom |
boolean |
ErrorChange |
protected ADWIN |
estimationErrorWeight |
protected int |
randomSeed |
mcCorrectWeight, nbCorrectWeight
attributeObservers, isInitialized, weightSeenAtLastSplitEvaluation
observedClassDistribution
Constructor and Description |
---|
HoeffdingAdaptiveTree.AdaLearningNode(double[] initialClassObservations) |
Modifier and Type | Method and Description |
---|---|
int |
calcByteSize() |
void |
filterInstanceToLeaves(weka.core.Instance inst,
HoeffdingTree.SplitNode splitparent,
int parentBranch,
List<HoeffdingTree.FoundNode> foundNodes,
boolean updateSplitterCounts) |
double[] |
getClassVotes(weka.core.Instance inst,
HoeffdingTree ht) |
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() |
learnFromInstance
disableAttribute
getBestSplitSuggestions, getWeightSeen, getWeightSeenAtLastSplitEvaluation, setWeightSeenAtLastSplitEvaluation
calcByteSizeIncludingSubtree, calculatePromise, describeSubtree, filterInstanceToLeaf, getDescription, getObservedClassDistribution, isLeaf, observedClassDistributionIsPure, subtreeDepth
copy, copy, measureByteSize, measureByteSize, toString
protected ADWIN estimationErrorWeight
public boolean ErrorChange
protected int randomSeed
protected Random classifierRandom
public HoeffdingAdaptiveTree.AdaLearningNode(double[] initialClassObservations)
public int calcByteSize()
calcByteSize
in class HoeffdingTree.ActiveLearningNode
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 killTreeChilds(HoeffdingAdaptiveTree ht)
killTreeChilds
in interface HoeffdingAdaptiveTree.NewNode
public void learnFromInstance(weka.core.Instance inst, HoeffdingAdaptiveTree ht, HoeffdingTree.SplitNode parent, int parentBranch)
learnFromInstance
in interface HoeffdingAdaptiveTree.NewNode
public double[] getClassVotes(weka.core.Instance inst, HoeffdingTree ht)
getClassVotes
in class HoeffdingTree.LearningNodeNBAdaptive
public void filterInstanceToLeaves(weka.core.Instance inst, HoeffdingTree.SplitNode splitparent, int parentBranch, List<HoeffdingTree.FoundNode> foundNodes, boolean updateSplitterCounts)
filterInstanceToLeaves
in interface HoeffdingAdaptiveTree.NewNode
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.