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