InputType - The type of the input to the evaluator to compute the
performance of.public class RootMeanSquaredErrorEvaluator<InputType> extends AbstractSupervisedPerformanceEvaluator<InputType,java.lang.Double,java.lang.Double,java.lang.Double>
RootMeanSquaredErrorEvaluator class implements a method for
computing the performance of a supervised learner for a scalar function by
the root mean squared error (RMSE or RSE) between the target and estimated
outputs.| Constructor and Description |
|---|
RootMeanSquaredErrorEvaluator()
Creates a new
RootMeanSquaredErrorEvaluator. |
| Modifier and Type | Method and Description |
|---|---|
static double |
compute(java.util.Collection<? extends TargetEstimatePair<? extends java.lang.Double,? extends java.lang.Double>> data)
Computes the mean squared error for the given pairs of values.
|
java.lang.Double |
evaluatePerformance(java.util.Collection<? extends TargetEstimatePair<? extends java.lang.Double,? extends java.lang.Double>> data)
Evaluates the performance accuracy of the given estimates against the
given targets.
|
evaluatePerformance, summarizeclonepublic RootMeanSquaredErrorEvaluator()
RootMeanSquaredErrorEvaluator.public java.lang.Double evaluatePerformance(java.util.Collection<? extends TargetEstimatePair<? extends java.lang.Double,? extends java.lang.Double>> data)
evaluatePerformance in interface SupervisedPerformanceEvaluator<InputType,java.lang.Double,java.lang.Double,java.lang.Double>evaluatePerformance in class AbstractSupervisedPerformanceEvaluator<InputType,java.lang.Double,java.lang.Double,java.lang.Double>data - The target-estimate pairs to use to evaluate performance.public static double compute(java.util.Collection<? extends TargetEstimatePair<? extends java.lang.Double,? extends java.lang.Double>> data)
data - The data to compute the mean squared error over.