Package moa.classifiers.rules.multilabel
Class AMRulesMultiLabelClassifier
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.options.AbstractOptionHandler
-
- moa.classifiers.AbstractClassifier
-
- moa.classifiers.AbstractMultiLabelLearner
-
- moa.classifiers.rules.multilabel.AMRulesMultiLabelLearner
-
- moa.classifiers.rules.multilabel.AMRulesMultiLabelClassifier
-
- All Implemented Interfaces:
Configurable
,Serializable
,CapabilitiesHandler
,Classifier
,MultiLabelClassifier
,MultiLabelLearner
,AWTRenderable
,Learner<Example<Instance>>
,MOAObject
,OptionHandler
public class AMRulesMultiLabelClassifier extends AMRulesMultiLabelLearner implements MultiLabelClassifier
Method for online multi-Label classification. This method consists of the adaptation of the Multi-target Regression method to Multi-label Classification by problem transformation. This also implied the adaption of AMRules to the output binary variable through the substitution of some heurĂstics such as variance measures by entropy measures. The algorithm is fully explained in the following publication: Sousa R., Gama J. (2016) Online Multi-label Classification with Adaptive Model Rules. In: Luaces O. et al. (eds) Advances in Artificial Intelligence. CAEPIA 2016. Lecture Notes in Computer Science, vol 9868. Springer.- Version:
- $Revision: 2 $
- Author:
- RSousa
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class moa.classifiers.rules.multilabel.AMRulesMultiLabelLearner
anomalyDetector, attributesPercentage, changeDetector, defaultRule, dropOldRuleAfterExpansionOption, errorMeasurerOption, featureRankingOption, gracePeriodOption, inputSelectorOption, learnerOption, nominalObserverOption, numericObserverOption, observer, outputSelectorOption, randomSeedOption, ruleNumberID, ruleSet, splitConfidenceOption, splitCriterionOption, statistics, tieThresholdOption, unorderedRulesOption, VerbosityOption, weightedVoteOption
-
Fields inherited from class moa.classifiers.AbstractClassifier
classifierRandom, modelContext, randomSeed, trainingWeightSeenByModel
-
Fields inherited from class moa.options.AbstractOptionHandler
config
-
-
Constructor Summary
Constructors Constructor Description AMRulesMultiLabelClassifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPurposeString()
Dictionary with option texts and objectsprotected MultiLabelRule
newDefaultRule()
-
Methods inherited from class moa.classifiers.rules.multilabel.AMRulesMultiLabelLearner
debug, defaultRuleErrors, getAttributesPercentage, getAverageInputs, getAverageOutputs, getModelDescription, getModelMeasurementsImpl, getPredictionForInstance, getVotes, isRandomizable, newErrorWeightedVote, PrintRuleSet, resetLearningImpl, setAttributesPercentage, setObserver, setRandomSeed, setRuleOptions, trainOnInstanceImpl, VerboseToConsole
-
Methods inherited from class moa.classifiers.AbstractMultiLabelLearner
getPredictionForInstance, getPredictionForInstance, getVotesForInstance, trainOnInstanceImpl
-
Methods inherited from class moa.classifiers.AbstractClassifier
contextIsCompatible, copy, correctlyClassifies, defineImmutableCapabilities, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getModel, getModelContext, getModelMeasurements, getNominalValueString, getSubClassifiers, getSublearners, getVotesForInstance, modelAttIndexToInstanceAttIndex, modelAttIndexToInstanceAttIndex, prepareForUseImpl, resetLearning, setModelContext, 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, measureByteSize, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface moa.gui.AWTRenderable
getAWTRenderer
-
Methods inherited from interface moa.capabilities.CapabilitiesHandler
getCapabilities
-
Methods inherited from interface moa.classifiers.Classifier
copy, correctlyClassifies, getPredictionForInstance, getSubClassifiers, getVotesForInstance, trainOnInstance
-
Methods inherited from interface moa.learners.Learner
getModel, getModelContext, getModelMeasurements, getPredictionForInstance, getSublearners, getVotesForInstance, isRandomizable, resetLearning, setModelContext, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstance
-
Methods inherited from interface moa.MOAObject
getDescription, measureByteSize
-
Methods inherited from interface moa.classifiers.MultiLabelLearner
getPredictionForInstance, trainOnInstanceImpl
-
Methods inherited from interface moa.options.OptionHandler
getCLICreationString, getOptions, prepareForUse, prepareForUse
-
-
-
-
Method Detail
-
getPurposeString
public String getPurposeString()
Description copied from class:AbstractOptionHandler
Dictionary with option texts and objects- Specified by:
getPurposeString
in interfaceOptionHandler
- Overrides:
getPurposeString
in classAbstractClassifier
- Returns:
- the string with the purpose of this object
-
newDefaultRule
protected MultiLabelRule newDefaultRule()
- Specified by:
newDefaultRule
in classAMRulesMultiLabelLearner
-
-