public class RelativeMeanAbsoluteDeviationMT extends AbstractMultiTargetErrorMeasurer
Modifier and Type | Field and Description |
---|---|
protected boolean |
hasStarted |
protected int |
numLearnedOutputs |
protected double[] |
sumError |
protected double[] |
sumErrorToTargetMean |
protected double[] |
sumY |
protected double |
weightSeen |
fadingErrorFactor, fadingErrorFactorOption
config
Constructor and Description |
---|
RelativeMeanAbsoluteDeviationMT() |
Modifier and Type | Method and Description |
---|---|
void |
addPrediction(Prediction prediction,
Prediction trueClass,
double weight) |
double |
getCurrentError() |
double |
getCurrentError(int index) |
double[] |
getCurrentErrors() |
addPrediction
addPrediction, getDescription, prepareForUseImpl
copy, getCLICreationString, getOptions, getPreparedClassOption, getPurposeString, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPrediction
copy, getCLICreationString, getOptions, getPurposeString, prepareForUse, prepareForUse
getDescription, measureByteSize
protected double weightSeen
protected double[] sumError
protected double[] sumY
protected double[] sumErrorToTargetMean
protected boolean hasStarted
protected int numLearnedOutputs
public void addPrediction(Prediction prediction, Prediction trueClass, double weight)
addPrediction
in interface MultiLabelErrorMeasurer
addPrediction
in class AbstractMultiLabelErrorMeasurer
public double getCurrentError()
getCurrentError
in interface MultiLabelErrorMeasurer
getCurrentError
in class AbstractMultiLabelErrorMeasurer
public double getCurrentError(int index)
getCurrentError
in interface MultiLabelErrorMeasurer
getCurrentError
in class AbstractMultiLabelErrorMeasurer
public double[] getCurrentErrors()
getCurrentErrors
in interface MultiLabelErrorMeasurer
getCurrentErrors
in class AbstractMultiLabelErrorMeasurer
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.