wGmdh.jGmdh.oldskul.measures
Class Rrse

java.lang.Object
  extended by wGmdh.jGmdh.oldskul.measures.Measure
      extended by wGmdh.jGmdh.oldskul.measures.Rrse
All Implemented Interfaces:
java.io.Serializable, weka.core.OptionHandler

public class Rrse
extends Measure

Root Relative Squared Error. Optimized when the error is calculated against the same data over and over again. Not appropriate if you need to calculate error on different data often

See Also:
Serialized Form

Field Summary
 
Fields inherited from class wGmdh.jGmdh.oldskul.measures.Measure
debug
 
Constructor Summary
Rrse()
           
 
Method Summary
 double calculate(Model model, double[] modeled, double[] goal)
           
 
Methods inherited from class wGmdh.jGmdh.oldskul.measures.Measure
getDebug, getOptions, listOptions, setDebug, setOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rrse

public Rrse()
Method Detail

calculate

public double calculate(Model model,
                        double[] modeled,
                        double[] goal)
                 throws java.lang.Exception
Specified by:
calculate in class Measure
Parameters:
model - in case your measure includes info about model structure
Returns:
Throws:
java.lang.Exception