public class HoeffdingAdaptiveTreeClassifLeaves.LearningNodeHATClassifier extends HoeffdingAdaptiveTree.AdaLearningNode
Modifier and Type | Field and Description |
---|---|
protected Classifier |
classifier |
classifierRandom, ErrorChange, estimationErrorWeight, randomSeed
mcCorrectWeight, nbCorrectWeight
attributeObservers, isInitialized, weightSeenAtLastSplitEvaluation
observedClassDistribution
Constructor and Description |
---|
LearningNodeHATClassifier(double[] initialClassObservations) |
LearningNodeHATClassifier(double[] initialClassObservations,
Classifier cl,
HoeffdingAdaptiveTreeClassifLeaves ht) |
Modifier and Type | Method and Description |
---|---|
void |
disableAttribute(int attIndex) |
Classifier |
getClassifier() |
double[] |
getClassVotes(Instance inst,
HoeffdingTree ht) |
void |
learnFromInstance(Instance inst,
HoeffdingTree ht) |
calcByteSize, filterInstanceToLeaves, getErrorEstimation, getErrorWidth, isNullError, killTreeChilds, learnFromInstance, numberLeaves
getBestSplitSuggestions, getWeightSeen, getWeightSeenAtLastSplitEvaluation, setWeightSeenAtLastSplitEvaluation
calcByteSizeIncludingSubtree, calculatePromise, describeSubtree, filterInstanceToLeaf, getDescription, getObservedClassDistribution, isLeaf, observedClassDistributionIsPure, subtreeDepth
copy, copy, measureByteSize, measureByteSize, toString
protected Classifier classifier
public LearningNodeHATClassifier(double[] initialClassObservations)
public LearningNodeHATClassifier(double[] initialClassObservations, Classifier cl, HoeffdingAdaptiveTreeClassifLeaves ht)
public double[] getClassVotes(Instance inst, HoeffdingTree ht)
getClassVotes
in class HoeffdingAdaptiveTree.AdaLearningNode
public void disableAttribute(int attIndex)
disableAttribute
in class HoeffdingTree.LearningNodeNB
public void learnFromInstance(Instance inst, HoeffdingTree ht)
learnFromInstance
in class HoeffdingTree.LearningNodeNBAdaptive
public Classifier getClassifier()
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.