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, nbCorrectWeightattributeObservers, isInitialized, weightSeenAtLastSplitEvaluationobservedClassDistribution| 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() |
learnFromInstancedisableAttributegetBestSplitSuggestions, getWeightSeen, getWeightSeenAtLastSplitEvaluation, setWeightSeenAtLastSplitEvaluationcalcByteSizeIncludingSubtree, calculatePromise, describeSubtree, filterInstanceToLeaf, getDescription, getObservedClassDistribution, isLeaf, observedClassDistributionIsPure, subtreeDepthcopy, copy, measureByteSize, measureByteSize, toStringprotected ADWIN estimationErrorWeight
public boolean ErrorChange
protected int randomSeed
protected Random classifierRandom
public HoeffdingAdaptiveTree.AdaLearningNode(double[] initialClassObservations)
public int calcByteSize()
calcByteSize in class HoeffdingTree.ActiveLearningNodepublic 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 killTreeChilds(HoeffdingAdaptiveTree ht)
killTreeChilds in interface HoeffdingAdaptiveTree.NewNodepublic void learnFromInstance(weka.core.Instance inst,
HoeffdingAdaptiveTree ht,
HoeffdingTree.SplitNode parent,
int parentBranch)
learnFromInstance in interface HoeffdingAdaptiveTree.NewNodepublic double[] getClassVotes(weka.core.Instance inst,
HoeffdingTree ht)
getClassVotes in class HoeffdingTree.LearningNodeNBAdaptivepublic void filterInstanceToLeaves(weka.core.Instance inst,
HoeffdingTree.SplitNode splitparent,
int parentBranch,
List<HoeffdingTree.FoundNode> foundNodes,
boolean updateSplitterCounts)
filterInstanceToLeaves in interface HoeffdingAdaptiveTree.NewNodeCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.