Class RelativeMeanAbsoluteDeviationMT
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.options.AbstractOptionHandler
-
- moa.classifiers.rules.multilabel.errormeasurers.AbstractMultiLabelErrorMeasurer
-
- moa.classifiers.rules.multilabel.errormeasurers.AbstractMultiTargetErrorMeasurer
-
- moa.classifiers.rules.multilabel.errormeasurers.RelativeMeanAbsoluteDeviationMT
-
- All Implemented Interfaces:
Configurable
,Serializable
,MultiLabelErrorMeasurer
,MultiTargetErrorMeasurer
,MOAObject
,OptionHandler
public class RelativeMeanAbsoluteDeviationMT extends AbstractMultiTargetErrorMeasurer
Relative Mean Absolute Deviation for multitarget and with fading factor- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
hasStarted
protected int
numLearnedOutputs
protected double[]
sumError
protected double[]
sumErrorToTargetMean
protected double[]
sumY
protected double
weightSeen
-
Fields inherited from class moa.classifiers.rules.multilabel.errormeasurers.AbstractMultiLabelErrorMeasurer
fadingErrorFactor, fadingErrorFactorOption
-
Fields inherited from class moa.options.AbstractOptionHandler
config
-
-
Constructor Summary
Constructors Constructor Description RelativeMeanAbsoluteDeviationMT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPrediction(Prediction prediction, Prediction trueClass, double weight)
double
getCurrentError()
double
getCurrentError(int index)
double[]
getCurrentErrors()
-
Methods inherited from class moa.classifiers.rules.multilabel.errormeasurers.AbstractMultiTargetErrorMeasurer
addPrediction
-
Methods inherited from class moa.classifiers.rules.multilabel.errormeasurers.AbstractMultiLabelErrorMeasurer
addPrediction, getDescription, prepareForUseImpl
-
Methods inherited from class moa.options.AbstractOptionHandler
copy, getCLICreationString, getOptions, getPreparedClassOption, getPurposeString, 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.MOAObject
getDescription, measureByteSize
-
Methods inherited from interface moa.classifiers.rules.multilabel.errormeasurers.MultiLabelErrorMeasurer
addPrediction
-
Methods inherited from interface moa.options.OptionHandler
copy, getCLICreationString, getOptions, getPurposeString, prepareForUse, prepareForUse
-
-
-
-
Method Detail
-
addPrediction
public void addPrediction(Prediction prediction, Prediction trueClass, double weight)
- Specified by:
addPrediction
in interfaceMultiLabelErrorMeasurer
- Specified by:
addPrediction
in classAbstractMultiLabelErrorMeasurer
-
getCurrentError
public double getCurrentError()
- Specified by:
getCurrentError
in interfaceMultiLabelErrorMeasurer
- Specified by:
getCurrentError
in classAbstractMultiLabelErrorMeasurer
-
getCurrentError
public double getCurrentError(int index)
- Specified by:
getCurrentError
in interfaceMultiLabelErrorMeasurer
- Specified by:
getCurrentError
in classAbstractMultiLabelErrorMeasurer
-
getCurrentErrors
public double[] getCurrentErrors()
- Specified by:
getCurrentErrors
in interfaceMultiLabelErrorMeasurer
- Specified by:
getCurrentErrors
in classAbstractMultiLabelErrorMeasurer
-
-