public static class RandomHoeffdingTree.LearningNodeNB extends RandomHoeffdingTree.RandomLearningNode
listAttributes, numAttributes
attributeObservers, isInitialized, weightSeenAtLastSplitEvaluation
observedClassDistribution
Constructor and Description |
---|
LearningNodeNB(double[] initialClassObservations) |
Modifier and Type | Method and Description |
---|---|
void |
disableAttribute(int attIndex) |
double[] |
getClassVotes(Instance inst,
HoeffdingTree ht) |
learnFromInstance
calcByteSize, getBestSplitSuggestions, getWeightSeen, getWeightSeenAtLastSplitEvaluation, setWeightSeenAtLastSplitEvaluation
calcByteSizeIncludingSubtree, calculatePromise, describeSubtree, filterInstanceToLeaf, getDescription, getObservedClassDistribution, isLeaf, observedClassDistributionIsPure, subtreeDepth
copy, copy, measureByteSize, measureByteSize, toString
public double[] getClassVotes(Instance inst, HoeffdingTree ht)
getClassVotes
in class HoeffdingTree.Node
public void disableAttribute(int attIndex)
disableAttribute
in class HoeffdingTree.ActiveLearningNode
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.