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