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