src/core/metrics/SingleRegressionMetric.java
public void report(double error) {
        cumulativeAbsoluteError += error;
        absoluteErrors.put(errorCount, error);
        cumulativeSquaredError += Math.pow(error, 2);
        squaredErrors.put(errorCount, Math.pow(error, 2));
        errorCount++;
    }
/**
     * Reports single error value.
     *
     * @param error single error value to be reported.
     */
Reports single error value.

@param error single error value to be reported.
Reports single error value . @param error single error value to be reported .
public void report(double error) {
        cumulativeAbsoluteError += error;
        absoluteErrors.put(errorCount, error);
        cumulativeSquaredError += Math.pow(error, 2);
        squaredErrors.put(errorCount, Math.pow(error, 2));
        errorCount++;
    }
public void report ( double error ) { cumulativeAbsoluteError += error ; absoluteErrors . put ( errorCount , error ) ; cumulativeSquaredError += Math . pow ( error , 2 ) ; squaredErrors . put ( errorCount , Math . pow ( error , 2 ) ) ; errorCount ++ ; }
Reports single error value.
Reports single error value .