public static class HoeffdingTree.LearningNodeNBAdaptive extends HoeffdingTree.LearningNodeNB
Modifier and Type | Field and Description |
---|---|
protected double |
mcCorrectWeight |
protected double |
nbCorrectWeight |
attributeObservers, isInitialized, weightSeenAtLastSplitEvaluation
observedClassDistribution
Constructor and Description |
---|
HoeffdingTree.LearningNodeNBAdaptive(double[] initialClassObservations) |
Modifier and Type | Method and Description |
---|---|
double[] |
getClassVotes(weka.core.Instance inst,
HoeffdingTree ht) |
void |
learnFromInstance(weka.core.Instance inst,
HoeffdingTree ht) |
disableAttribute
calcByteSize, getBestSplitSuggestions, getWeightSeen, getWeightSeenAtLastSplitEvaluation, setWeightSeenAtLastSplitEvaluation
calcByteSizeIncludingSubtree, calculatePromise, describeSubtree, filterInstanceToLeaf, getDescription, getObservedClassDistribution, isLeaf, observedClassDistributionIsPure, subtreeDepth
copy, copy, measureByteSize, measureByteSize, toString
protected double mcCorrectWeight
protected double nbCorrectWeight
public HoeffdingTree.LearningNodeNBAdaptive(double[] initialClassObservations)
public void learnFromInstance(weka.core.Instance inst, HoeffdingTree ht)
learnFromInstance
in class HoeffdingTree.ActiveLearningNode
public double[] getClassVotes(weka.core.Instance inst, HoeffdingTree ht)
getClassVotes
in class HoeffdingTree.LearningNodeNB
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.