Package moa.classifiers.trees
Class EFDT.LearningNodeNBAdaptive
- 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
-
- moa.classifiers.trees.EFDT.LearningNodeNBAdaptive
-
- All Implemented Interfaces:
Serializable
,MOAObject
- Direct Known Subclasses:
EFDT.EFDTLearningNode
- Enclosing class:
- EFDT
public static class EFDT.LearningNodeNBAdaptive extends EFDT.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.EFDT.ActiveLearningNode
attributeObservers, isInitialized, weightSeenAtLastSplitEvaluation
-
Fields inherited from class moa.classifiers.trees.EFDT.Node
classDistributionAtTimeOfCreation, nodeTime, observedClassDistribution, usedNominalAttributes
-
-
Constructor Summary
Constructors Constructor Description LearningNodeNBAdaptive(double[] initialClassObservations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]
getClassVotes(Instance inst, EFDT ht)
void
learnFromInstance(Instance inst, EFDT ht)
-
Methods inherited from class moa.classifiers.trees.EFDT.LearningNodeNB
disableAttribute
-
Methods inherited from class moa.classifiers.trees.EFDT.ActiveLearningNode
calcByteSize, getBestSplitSuggestions, getWeightSeen, getWeightSeenAtLastSplitEvaluation, 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
-
learnFromInstance
public void learnFromInstance(Instance inst, EFDT ht)
- Overrides:
learnFromInstance
in classEFDT.ActiveLearningNode
-
getClassVotes
public double[] getClassVotes(Instance inst, EFDT ht)
- Overrides:
getClassVotes
in classEFDT.LearningNodeNB
-
-