org.debellor.base.evaluator.score
Class RMSE

java.lang.Object
  extended by org.debellor.base.evaluator.score.Score
      extended by org.debellor.base.evaluator.score.RMSE

public class RMSE
extends Score

Calculates Root Mean Squared Error (RMSE) of numeric decisions predicted by a decision system.

Author:
Marcin Wojnarski

Constructor Summary
RMSE()
           
 
Method Summary
 void add(DataObject target, DataObject prediction)
          Update the score with another pair of (target,prediction) decisions.
 java.lang.String report()
          Calculates the value(s) of the quality measure and returns in a form of a textual report.
 void reset()
          Resets the score to its initial state.
 double result()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMSE

public RMSE()
Method Detail

reset

public void reset()
Description copied from class: Score
Resets the score to its initial state.

Specified by:
reset in class Score

add

public void add(DataObject target,
                DataObject prediction)
         throws DataCastException
Description copied from class: Score
Update the score with another pair of (target,prediction) decisions.

Specified by:
add in class Score
Parameters:
target - Ground truth decision of a sample.
prediction - Decision predicted by a decision algorithm.
Throws:
DataCastException

report

public java.lang.String report()
Description copied from class: Score
Calculates the value(s) of the quality measure and returns in a form of a textual report.

Specified by:
report in class Score

result

public double result()
Specified by:
result in class Score