Class RootMeanSquaredError
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.classifiers.rules.errormeasurers.ErrorMeasurement
-
- moa.classifiers.rules.errormeasurers.RootMeanSquaredError
-
- All Implemented Interfaces:
Serializable
,MOAObject
public class RootMeanSquaredError extends ErrorMeasurement
Computes the Root Mean Squared Error for single target regression problems- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class moa.classifiers.rules.errormeasurers.ErrorMeasurement
fadingErrorFactor, fadingErrorFactorOption
-
-
Constructor Summary
Constructors Constructor Description RootMeanSquaredError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPrediction(double[] prediction, Instance inst)
double
getCurrentError()
-
Methods inherited from class moa.classifiers.rules.errormeasurers.ErrorMeasurement
getDescription
-
Methods inherited from class moa.AbstractMOAObject
copy, copy, measureByteSize, measureByteSize, toString
-
-
-
-
Method Detail
-
getCurrentError
public double getCurrentError()
- Specified by:
getCurrentError
in classErrorMeasurement
-
addPrediction
public void addPrediction(double[] prediction, Instance inst)
- Specified by:
addPrediction
in classErrorMeasurement
-
-