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