public static class LimAttHoeffdingTree.LearningNodeNBAdaptive extends LimAttHoeffdingTree.LearningNodeNB
Modifier and Type | Field and Description |
---|---|
protected double |
mcCorrectWeight |
protected double |
nbCorrectWeight |
listAttributes, numAttributes, weightSeenAtLastSplitEvaluation
attributeObservers, isInitialized
observedClassDistribution
Constructor and Description |
---|
LearningNodeNBAdaptive(double[] initialClassObservations) |
Modifier and Type | Method and Description |
---|---|
double[] |
getClassVotes(Instance inst,
HoeffdingTree ht) |
void |
learnFromInstance(Instance inst,
HoeffdingTree ht) |
disableAttribute
setlistAttributes
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 LearningNodeNBAdaptive(double[] initialClassObservations)
public void learnFromInstance(Instance inst, HoeffdingTree ht)
learnFromInstance
in class LimAttHoeffdingTree.LimAttLearningNode
public double[] getClassVotes(Instance inst, HoeffdingTree ht)
getClassVotes
in class LimAttHoeffdingTree.LearningNodeNB
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.