Package moa.classifiers.trees
Class HoeffdingTree.LearningNodeNB
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.classifiers.trees.HoeffdingTree.Node
-
- moa.classifiers.trees.HoeffdingTree.LearningNode
-
- moa.classifiers.trees.HoeffdingTree.ActiveLearningNode
-
- moa.classifiers.trees.HoeffdingTree.LearningNodeNB
-
- All Implemented Interfaces:
Serializable
,MOAObject
- Direct Known Subclasses:
HoeffdingTree.LearningNodeNBAdaptive
- Enclosing class:
- HoeffdingTree
public static class HoeffdingTree.LearningNodeNB extends HoeffdingTree.ActiveLearningNode
- See Also:
- Serialized Form
-
-
Field Summary
-
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 LearningNodeNB(double[] initialClassObservations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disableAttribute(int attIndex)
double[]
getClassVotes(Instance inst, HoeffdingTree ht)
-
Methods inherited from class moa.classifiers.trees.HoeffdingTree.ActiveLearningNode
calcByteSize, getBestSplitSuggestions, getWeightSeen, getWeightSeenAtLastSplitEvaluation, learnFromInstance, 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
-
getClassVotes
public double[] getClassVotes(Instance inst, HoeffdingTree ht)
- Overrides:
getClassVotes
in classHoeffdingTree.Node
-
disableAttribute
public void disableAttribute(int attIndex)
- Overrides:
disableAttribute
in classHoeffdingTree.ActiveLearningNode
-
-