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