Package moa.classifiers.trees
Class EFDT.ActiveLearningNode
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.classifiers.trees.EFDT.Node
-
- moa.classifiers.trees.EFDT.LearningNode
-
- moa.classifiers.trees.EFDT.ActiveLearningNode
-
- All Implemented Interfaces:
Serializable
,MOAObject
- Direct Known Subclasses:
EFDT.LearningNodeNB
- Enclosing class:
- EFDT
public static class EFDT.ActiveLearningNode extends EFDT.LearningNode
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AutoExpandVector<AttributeClassObserver>
attributeObservers
protected boolean
isInitialized
protected double
weightSeenAtLastSplitEvaluation
-
Fields inherited from class moa.classifiers.trees.EFDT.Node
classDistributionAtTimeOfCreation, nodeTime, observedClassDistribution, usedNominalAttributes
-
-
Constructor Summary
Constructors Constructor Description ActiveLearningNode(double[] initialClassObservations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
calcByteSize()
void
disableAttribute(int attIndex)
AttributeSplitSuggestion[]
getBestSplitSuggestions(SplitCriterion criterion, EFDT ht)
double
getWeightSeen()
double
getWeightSeenAtLastSplitEvaluation()
void
learnFromInstance(Instance inst, EFDT ht)
void
setWeightSeenAtLastSplitEvaluation(double weight)
-
Methods inherited from class moa.classifiers.trees.EFDT.Node
addToSplitAttempts, calcByteSizeIncludingSubtree, calculatePromise, describeSubtree, filterInstanceToLeaf, getClassDistributionAtTimeOfCreation, getClassVotes, getDescription, getInfogainSum, getNumSplitAttempts, getObservedClassDistribution, isLeaf, observedClassDistributionIsPure, setInfogainSum, subtreeDepth
-
Methods inherited from class moa.AbstractMOAObject
copy, copy, measureByteSize, measureByteSize, toString
-
-
-
-
Field Detail
-
weightSeenAtLastSplitEvaluation
protected double weightSeenAtLastSplitEvaluation
-
attributeObservers
protected AutoExpandVector<AttributeClassObserver> attributeObservers
-
isInitialized
protected boolean isInitialized
-
-
Method Detail
-
calcByteSize
public int calcByteSize()
- Overrides:
calcByteSize
in classEFDT.Node
-
learnFromInstance
public void learnFromInstance(Instance inst, EFDT ht)
- Specified by:
learnFromInstance
in classEFDT.LearningNode
-
getWeightSeen
public double getWeightSeen()
-
getWeightSeenAtLastSplitEvaluation
public double getWeightSeenAtLastSplitEvaluation()
-
setWeightSeenAtLastSplitEvaluation
public void setWeightSeenAtLastSplitEvaluation(double weight)
-
getBestSplitSuggestions
public AttributeSplitSuggestion[] getBestSplitSuggestions(SplitCriterion criterion, EFDT ht)
-
disableAttribute
public void disableAttribute(int attIndex)
-
-