com.rapidminer.operator.performance
Class RootMeanSquaredError

java.lang.Object
  extended by com.rapidminer.operator.AbstractIOObject
      extended by com.rapidminer.operator.ResultObjectAdapter
          extended by com.rapidminer.tools.math.Averagable
              extended by com.rapidminer.operator.performance.PerformanceCriterion
                  extended by com.rapidminer.operator.performance.MeasuredPerformance
                      extended by com.rapidminer.operator.performance.SimpleCriterion
                          extended by com.rapidminer.operator.performance.RootMeanSquaredError
All Implemented Interfaces:
IOObject, ResultObject, Saveable, Readable, Reportable, LoggingHandler, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<PerformanceCriterion>

public class RootMeanSquaredError
extends SimpleCriterion

The root-mean-squared error. Mean-squared error is the most commonly used measure of success of numeric prediction, and root mean-squared error is the square root of mean-squared-error, take to give it the same dimensions as the predicted values themselves. This method exaggerates the prediction error - the difference between prediction value and actual value of a test case - of test cases in which the prediction error is larger than the others. If this number is significantly greater than the mean absolute error, it means that there are test cases in which the prediction error is significantly greater than the average prediction error.

Author:
Ingo Mierswa, Simon Fischer Exp $
See Also:
Serialized Form

Constructor Summary
RootMeanSquaredError()
           
RootMeanSquaredError(RootMeanSquaredError sc)
           
 
Method Summary
 double countExample(double label, double predictedLabel)
          Calculates the error for the current example.
 java.lang.String getDescription()
          Returns a description of the performance criterion.
 java.lang.String getName()
          Returns the name of this averagable.
 double transform(double value)
          Applies a square root to the given value.
 
Methods inherited from class com.rapidminer.operator.performance.SimpleCriterion
buildSingleAverage, countExample, countExampleWithWeight, getExampleCount, getFitness, getMaxFitness, getMikroAverage, getMikroVariance, startCounting
 
Methods inherited from class com.rapidminer.operator.performance.MeasuredPerformance
startCounting
 
Methods inherited from class com.rapidminer.operator.performance.PerformanceCriterion
compareTo
 
Methods inherited from class com.rapidminer.tools.math.Averagable
buildAverage, clone, cloneAveragable, formatPercent, getAverage, getAverageCount, getExtension, getFileDescription, getMakroAverage, getMakroStandardDeviation, getMakroVariance, getMikroStandardDeviation, getStandardDeviation, getVariance, getVisualizationComponent, setAverageCount, toString
 
Methods inherited from class com.rapidminer.operator.ResultObjectAdapter
addAction, getActions, getResultIcon, isSavable, log, logError, logNote, logWarning, save, toHTML, toResultString
 
Methods inherited from class com.rapidminer.operator.AbstractIOObject
copy, getLog, getSource, initWriting, read, setLoggingHandler, setSource, write
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.rapidminer.operator.IOObject
copy, getLog, getSource, setLoggingHandler, setSource, write
 

Constructor Detail

RootMeanSquaredError

public RootMeanSquaredError()

RootMeanSquaredError

public RootMeanSquaredError(RootMeanSquaredError sc)
Method Detail

getName

public java.lang.String getName()
Description copied from class: Averagable
Returns the name of this averagable. The returned string should only contain lowercase letters and underscore (RapidMiner parameter format) since the names will be automatically used for GUI purposes.

Specified by:
getName in interface ResultObject
Specified by:
getName in class Averagable

countExample

public double countExample(double label,
                           double predictedLabel)
Calculates the error for the current example.

Specified by:
countExample in class SimpleCriterion

transform

public double transform(double value)
Applies a square root to the given value.

Overrides:
transform in class SimpleCriterion

getDescription

public java.lang.String getDescription()
Description copied from class: PerformanceCriterion
Returns a description of the performance criterion. This description is used for GUI purposes and automatic parameter type creation for the PerformanceEvaluator operator.

Specified by:
getDescription in class PerformanceCriterion


Copyright © 2001-2009 by Rapid-I