Package moa.classifiers.trees
Class EFDT.LearningNodeNB
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.classifiers.trees.EFDT.Node
-
- moa.classifiers.trees.EFDT.LearningNode
-
- moa.classifiers.trees.EFDT.ActiveLearningNode
-
- moa.classifiers.trees.EFDT.LearningNodeNB
-
- All Implemented Interfaces:
Serializable
,MOAObject
- Direct Known Subclasses:
EFDT.LearningNodeNBAdaptive
- Enclosing class:
- EFDT
public static class EFDT.LearningNodeNB extends EFDT.ActiveLearningNode
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class moa.classifiers.trees.EFDT.ActiveLearningNode
attributeObservers, isInitialized, weightSeenAtLastSplitEvaluation
-
Fields inherited from class moa.classifiers.trees.EFDT.Node
classDistributionAtTimeOfCreation, nodeTime, observedClassDistribution, usedNominalAttributes
-
-
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, EFDT ht)
-
Methods inherited from class moa.classifiers.trees.EFDT.ActiveLearningNode
calcByteSize, getBestSplitSuggestions, getWeightSeen, getWeightSeenAtLastSplitEvaluation, learnFromInstance, setWeightSeenAtLastSplitEvaluation
-
Methods inherited from class moa.classifiers.trees.EFDT.Node
addToSplitAttempts, calcByteSizeIncludingSubtree, calculatePromise, describeSubtree, filterInstanceToLeaf, getClassDistributionAtTimeOfCreation, getDescription, getInfogainSum, getNumSplitAttempts, getObservedClassDistribution, isLeaf, observedClassDistributionIsPure, setInfogainSum, subtreeDepth
-
Methods inherited from class moa.AbstractMOAObject
copy, copy, measureByteSize, measureByteSize, toString
-
-
-
-
Method Detail
-
getClassVotes
public double[] getClassVotes(Instance inst, EFDT ht)
- Overrides:
getClassVotes
in classEFDT.Node
-
disableAttribute
public void disableAttribute(int attIndex)
- Overrides:
disableAttribute
in classEFDT.ActiveLearningNode
-
-