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