Package moa.classifiers.trees
Class RandomHoeffdingTree.LearningNodeNBAdaptive
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.classifiers.trees.HoeffdingTree.Node
-
- moa.classifiers.trees.HoeffdingTree.LearningNode
-
- moa.classifiers.trees.HoeffdingTree.ActiveLearningNode
-
- moa.classifiers.trees.RandomHoeffdingTree.RandomLearningNode
-
- moa.classifiers.trees.RandomHoeffdingTree.LearningNodeNB
-
- moa.classifiers.trees.RandomHoeffdingTree.LearningNodeNBAdaptive
-
- All Implemented Interfaces:
Serializable
,MOAObject
- Enclosing class:
- RandomHoeffdingTree
public static class RandomHoeffdingTree.LearningNodeNBAdaptive extends RandomHoeffdingTree.LearningNodeNB
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected double
mcCorrectWeight
protected double
nbCorrectWeight
-
Fields inherited from class moa.classifiers.trees.RandomHoeffdingTree.RandomLearningNode
listAttributes, numAttributes
-
Fields inherited from class moa.classifiers.trees.HoeffdingTree.ActiveLearningNode
attributeObservers, isInitialized, weightSeenAtLastSplitEvaluation
-
Fields inherited from class moa.classifiers.trees.HoeffdingTree.Node
observedClassDistribution
-
-
Constructor Summary
Constructors Constructor Description LearningNodeNBAdaptive(double[] initialClassObservations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]
getClassVotes(Instance inst, HoeffdingTree ht)
void
learnFromInstance(Instance inst, HoeffdingTree ht)
-
Methods inherited from class moa.classifiers.trees.RandomHoeffdingTree.LearningNodeNB
disableAttribute
-
Methods inherited from class moa.classifiers.trees.HoeffdingTree.ActiveLearningNode
calcByteSize, getBestSplitSuggestions, getWeightSeen, getWeightSeenAtLastSplitEvaluation, setWeightSeenAtLastSplitEvaluation
-
Methods inherited from class moa.classifiers.trees.HoeffdingTree.Node
calcByteSizeIncludingSubtree, calculatePromise, describeSubtree, filterInstanceToLeaf, getDescription, getObservedClassDistribution, getObservedClassDistributionAtLeavesReachableThroughThisNode, isLeaf, observedClassDistributionIsPure, subtreeDepth
-
Methods inherited from class moa.AbstractMOAObject
copy, copy, measureByteSize, measureByteSize, toString
-
-
-
-
Method Detail
-
learnFromInstance
public void learnFromInstance(Instance inst, HoeffdingTree ht)
- Overrides:
learnFromInstance
in classRandomHoeffdingTree.RandomLearningNode
-
getClassVotes
public double[] getClassVotes(Instance inst, HoeffdingTree ht)
- Overrides:
getClassVotes
in classRandomHoeffdingTree.LearningNodeNB
-
-