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