weka.classifiers.timeseries.eval
Class MSEModule

java.lang.Object
  extended by weka.classifiers.timeseries.eval.TSEvalModule
      extended by weka.classifiers.timeseries.eval.ErrorModule
          extended by weka.classifiers.timeseries.eval.MSEModule
Direct Known Subclasses:
RMSEModule

public class MSEModule
extends ErrorModule

Author:
mhall

Constructor Summary
MSEModule()
           
 
Method Summary
 double[] calculateMeasure()
          Calculate the measure that this module represents.
 java.lang.String getDefinition()
          Return the mathematical formula that this evaluation module computes.
 java.lang.String getDescription()
          Return the longer (single sentence) description of this evaluation module
 java.lang.String getEvalName()
          Return the short identifying name of this evaluation module
 
Methods inherited from class weka.classifiers.timeseries.eval.ErrorModule
countsForTargets, evaluateForInstance, getErrorsForTarget, getPredictionsForAllTargets, getPredictionsForTarget, reset, toString, toSummaryString
 
Methods inherited from class weka.classifiers.timeseries.eval.TSEvalModule
getModule, getModuleList, getTargetFields, setTargetFields
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MSEModule

public MSEModule()
Method Detail

getEvalName

public java.lang.String getEvalName()
Description copied from class: TSEvalModule
Return the short identifying name of this evaluation module

Overrides:
getEvalName in class ErrorModule
Returns:
the short identifying name of this evaluation module

getDescription

public java.lang.String getDescription()
Description copied from class: TSEvalModule
Return the longer (single sentence) description of this evaluation module

Overrides:
getDescription in class ErrorModule
Returns:
the longer description of this module

getDefinition

public java.lang.String getDefinition()
Description copied from class: TSEvalModule
Return the mathematical formula that this evaluation module computes.

Overrides:
getDefinition in class ErrorModule
Returns:
the mathematical formula that this module computes.

calculateMeasure

public double[] calculateMeasure()
                          throws java.lang.Exception
Description copied from class: TSEvalModule
Calculate the measure that this module represents.

Overrides:
calculateMeasure in class ErrorModule
Returns:
the value of the measure for this module for each of the target(s).
Throws:
java.lang.Exception - if the measure can't be computed for some reason.