Package moa.classifiers.trees
Class ARFHoeffdingTree.LearningNodeNBAdaptive
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.classifiers.trees.HoeffdingTree.Node
-
- moa.classifiers.trees.HoeffdingTree.LearningNode
-
- moa.classifiers.trees.HoeffdingTree.ActiveLearningNode
-
- moa.classifiers.trees.ARFHoeffdingTree.RandomLearningNode
-
- moa.classifiers.trees.ARFHoeffdingTree.LearningNodeNB
-
- moa.classifiers.trees.ARFHoeffdingTree.LearningNodeNBAdaptive
-
- All Implemented Interfaces:
Serializable
,MOAObject
- Enclosing class:
- ARFHoeffdingTree
public static class ARFHoeffdingTree.LearningNodeNBAdaptive extends ARFHoeffdingTree.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.ARFHoeffdingTree.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, int subspaceSize)
-
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.ARFHoeffdingTree.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 classARFHoeffdingTree.RandomLearningNode
-
getClassVotes
public double[] getClassVotes(Instance inst, HoeffdingTree ht)
- Overrides:
getClassVotes
in classARFHoeffdingTree.LearningNodeNB
-
-