Package moa.classifiers.trees
Class HoeffdingAdaptiveTreeClassifLeaves
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.options.AbstractOptionHandler
-
- moa.classifiers.AbstractClassifier
-
- moa.classifiers.trees.HoeffdingTree
-
- moa.classifiers.trees.HoeffdingAdaptiveTree
-
- moa.classifiers.trees.HoeffdingAdaptiveTreeClassifLeaves
-
- All Implemented Interfaces:
Configurable
,Serializable
,CapabilitiesHandler
,Classifier
,MultiClassClassifier
,AWTRenderable
,Learner<Example<Instance>>
,MOAObject
,OptionHandler
public class HoeffdingAdaptiveTreeClassifLeaves extends HoeffdingAdaptiveTree
Hoeffding Adaptive Tree for evolving data streams that has a classifier at the leaves. First used in the data stream configuration in J. P. Barddal, H. M. Gomes, F. Enembreck, B. Pfahringer & A. Bifet. ON DYNAMIC FEATURE WEIGHTING FOR FEATURE DRIFTING DATA STREAMS. In European Conference on Machine Learning and Principles and Practice of Knowledge Discovery (ECML/PKDD'16). 2016.- Version:
- 1.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
HoeffdingAdaptiveTreeClassifLeaves.LearningNodeHATClassifier
-
Nested classes/interfaces inherited from class moa.classifiers.trees.HoeffdingAdaptiveTree
HoeffdingAdaptiveTree.AdaLearningNode, HoeffdingAdaptiveTree.AdaSplitNode, HoeffdingAdaptiveTree.NewNode
-
Nested classes/interfaces inherited from class moa.classifiers.trees.HoeffdingTree
HoeffdingTree.ActiveLearningNode, HoeffdingTree.FoundNode, HoeffdingTree.InactiveLearningNode, HoeffdingTree.LearningNode, HoeffdingTree.LearningNodeNB, HoeffdingTree.LearningNodeNBAdaptive, HoeffdingTree.Node, HoeffdingTree.SplitNode
-
-
Field Summary
Fields Modifier and Type Field Description ClassOption
leaveLearnerOption
-
Fields inherited from class moa.classifiers.trees.HoeffdingAdaptiveTree
alternateTrees, prunedAlternateTrees, switchedAlternateTrees
-
Fields inherited from class moa.classifiers.trees.HoeffdingTree
activeLeafByteSizeEstimate, activeLeafNodeCount, binarySplitsOption, byteSizeEstimateOverheadFraction, decisionNodeCount, gracePeriodOption, growthAllowed, inactiveLeafByteSizeEstimate, inactiveLeafNodeCount, leafpredictionOption, maxByteSizeOption, memoryEstimatePeriodOption, nbThresholdOption, nominalEstimatorOption, noPrePruneOption, numericEstimatorOption, removePoorAttsOption, splitConfidenceOption, splitCriterionOption, stopMemManagementOption, tieThresholdOption, treeRoot
-
Fields inherited from class moa.classifiers.AbstractClassifier
classifierRandom, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModel
-
Fields inherited from class moa.options.AbstractOptionHandler
config
-
-
Constructor Summary
Constructors Constructor Description HoeffdingAdaptiveTreeClassifLeaves()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
attemptToSplit(HoeffdingTree.ActiveLearningNode node, HoeffdingTree.SplitNode parent, int parentIndex)
protected HoeffdingTree.LearningNode
newLearningNode(double[] initialClassObservations)
protected HoeffdingTree.LearningNode
newLearningNode(double[] initialClassObservations, Classifier cl)
-
Methods inherited from class moa.classifiers.trees.HoeffdingAdaptiveTree
defineImmutableCapabilities, filterInstanceToLeaves, getPurposeString, getVotesForInstance, newSplitNode, newSplitNode, trainOnInstanceImpl
-
Methods inherited from class moa.classifiers.trees.HoeffdingTree
activateLearningNode, calcByteSize, computeHoeffdingBound, deactivateAllLeaves, deactivateLearningNode, enforceTrackerLimit, estimateModelByteSizes, findLearningNodes, findLearningNodes, getModelDescription, getModelMeasurementsImpl, getNodeCount, getTreeRoot, isRandomizable, measureByteSize, measureTreeDepth, newLearningNode, newNominalClassObserver, newNumericClassObserver, resetLearningImpl
-
Methods inherited from class moa.classifiers.AbstractClassifier
contextIsCompatible, copy, correctlyClassifies, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getModel, getModelContext, getModelMeasurements, getNominalValueString, getPredictionForInstance, getPredictionForInstance, getSubClassifiers, getSublearners, getVotesForInstance, modelAttIndexToInstanceAttIndex, modelAttIndexToInstanceAttIndex, prepareForUseImpl, resetLearning, setModelContext, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstance, trainOnInstance
-
Methods inherited from class moa.options.AbstractOptionHandler
getCLICreationString, getOptions, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
-
Methods inherited from class moa.AbstractMOAObject
copy, measureByteSize, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface moa.capabilities.CapabilitiesHandler
getCapabilities
-
Methods inherited from interface moa.options.OptionHandler
getCLICreationString, getOptions, prepareForUse, prepareForUse
-
-
-
-
Field Detail
-
leaveLearnerOption
public ClassOption leaveLearnerOption
-
-
Method Detail
-
newLearningNode
protected HoeffdingTree.LearningNode newLearningNode(double[] initialClassObservations)
- Overrides:
newLearningNode
in classHoeffdingAdaptiveTree
-
newLearningNode
protected HoeffdingTree.LearningNode newLearningNode(double[] initialClassObservations, Classifier cl)
-
attemptToSplit
protected void attemptToSplit(HoeffdingTree.ActiveLearningNode node, HoeffdingTree.SplitNode parent, int parentIndex)
- Overrides:
attemptToSplit
in classHoeffdingTree
-
-