Package moa.classifiers.trees
Class LimAttHoeffdingTree.LearningNodeNBAdaptive
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.classifiers.trees.HoeffdingTree.Node
-
- moa.classifiers.trees.HoeffdingTree.LearningNode
-
- moa.classifiers.trees.HoeffdingTree.ActiveLearningNode
-
- moa.classifiers.trees.LimAttHoeffdingTree.LimAttLearningNode
-
- moa.classifiers.trees.LimAttHoeffdingTree.LearningNodeNB
-
- moa.classifiers.trees.LimAttHoeffdingTree.LearningNodeNBAdaptive
-
- All Implemented Interfaces:
Serializable
,MOAObject
- Enclosing class:
- LimAttHoeffdingTree
public static class LimAttHoeffdingTree.LearningNodeNBAdaptive extends LimAttHoeffdingTree.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.LimAttHoeffdingTree.LimAttLearningNode
listAttributes, numAttributes, weightSeenAtLastSplitEvaluation
-
Fields inherited from class moa.classifiers.trees.HoeffdingTree.ActiveLearningNode
attributeObservers, isInitialized
-
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.LimAttHoeffdingTree.LearningNodeNB
disableAttribute
-
Methods inherited from class moa.classifiers.trees.LimAttHoeffdingTree.LimAttLearningNode
setlistAttributes
-
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 classLimAttHoeffdingTree.LimAttLearningNode
-
getClassVotes
public double[] getClassVotes(Instance inst, HoeffdingTree ht)
- Overrides:
getClassVotes
in classLimAttHoeffdingTree.LearningNodeNB
-
-