Package moa.classifiers.trees
Class HoeffdingOptionTree.LearningNodeNBAdaptive
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.classifiers.trees.HoeffdingOptionTree.Node
-
- moa.classifiers.trees.HoeffdingOptionTree.LearningNode
-
- moa.classifiers.trees.HoeffdingOptionTree.ActiveLearningNode
-
- moa.classifiers.trees.HoeffdingOptionTree.LearningNodeNB
-
- moa.classifiers.trees.HoeffdingOptionTree.LearningNodeNBAdaptive
-
- All Implemented Interfaces:
Serializable
,MOAObject
- Enclosing class:
- HoeffdingOptionTree
public static class HoeffdingOptionTree.LearningNodeNBAdaptive extends HoeffdingOptionTree.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.HoeffdingOptionTree.ActiveLearningNode
attributeObservers, weightSeenAtLastSplitEvaluation
-
Fields inherited from class moa.classifiers.trees.HoeffdingOptionTree.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, HoeffdingOptionTree ht)
void
learnFromInstance(Instance inst, HoeffdingOptionTree hot)
-
Methods inherited from class moa.classifiers.trees.HoeffdingOptionTree.LearningNodeNB
disableAttribute
-
Methods inherited from class moa.classifiers.trees.HoeffdingOptionTree.ActiveLearningNode
calcByteSize, getBestSplitSuggestions, getWeightSeen, getWeightSeenAtLastSplitEvaluation, setWeightSeenAtLastSplitEvaluation
-
Methods inherited from class moa.classifiers.trees.HoeffdingOptionTree.Node
calcByteSizeIncludingSubtree, calculatePromise, describeSubtree, filterInstanceToLeaves, filterInstanceToLeaves, getDescription, getObservedClassDistribution, isLeaf, observedClassDistributionIsPure, subtreeDepth
-
Methods inherited from class moa.AbstractMOAObject
copy, copy, measureByteSize, measureByteSize, toString
-
-
-
-
Method Detail
-
learnFromInstance
public void learnFromInstance(Instance inst, HoeffdingOptionTree hot)
- Overrides:
learnFromInstance
in classHoeffdingOptionTree.ActiveLearningNode
-
getClassVotes
public double[] getClassVotes(Instance inst, HoeffdingOptionTree ht)
- Overrides:
getClassVotes
in classHoeffdingOptionTree.LearningNodeNB
-
-