public static class AdaHoeffdingOptionTree.AdaLearningNode extends HoeffdingOptionTree.LearningNodeNB
Modifier and Type | Field and Description |
---|---|
protected double |
alpha |
protected double |
CorrectWeight |
protected double |
mcCorrectWeight |
protected double |
nbCorrectWeight |
attributeObservers, weightSeenAtLastSplitEvaluation
observedClassDistribution
Constructor and Description |
---|
AdaHoeffdingOptionTree.AdaLearningNode(double[] initialClassObservations) |
Modifier and Type | Method and Description |
---|---|
double[] |
getClassVotes(weka.core.Instance inst,
HoeffdingOptionTree ht) |
void |
learnFromInstance(weka.core.Instance inst,
HoeffdingOptionTree hot) |
disableAttribute
calcByteSize, getBestSplitSuggestions, getWeightSeen, getWeightSeenAtLastSplitEvaluation, setWeightSeenAtLastSplitEvaluation
calcByteSizeIncludingSubtree, calculatePromise, describeSubtree, filterInstanceToLeaves, filterInstanceToLeaves, getDescription, getObservedClassDistribution, isLeaf, observedClassDistributionIsPure, subtreeDepth
copy, copy, measureByteSize, measureByteSize, toString
protected double mcCorrectWeight
protected double nbCorrectWeight
protected double CorrectWeight
protected double alpha
public AdaHoeffdingOptionTree.AdaLearningNode(double[] initialClassObservations)
public void learnFromInstance(weka.core.Instance inst, HoeffdingOptionTree hot)
learnFromInstance
in class HoeffdingOptionTree.ActiveLearningNode
public double[] getClassVotes(weka.core.Instance inst, HoeffdingOptionTree ht)
getClassVotes
in class HoeffdingOptionTree.LearningNodeNB
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.