|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.classifiers.timeseries.eval.TSEvalModule
weka.classifiers.timeseries.eval.ErrorModule
weka.classifiers.timeseries.eval.RRSEModule
public class RRSEModule
Constructor Summary | |
---|---|
RRSEModule()
|
Method Summary | |
---|---|
double[] |
calculateMeasure()
Calculate the measure that this module represents. |
void |
evaluateForInstance(java.util.List<NumericPrediction> forecasts,
Instance inst)
Evaluate the given forecast(s) with respect to the given test instance. |
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 |
double[] |
getPreviousActual()
|
void |
reset()
Reset the module |
void |
setRelativeRRSEModule(RRSEModule relative)
|
Methods inherited from class weka.classifiers.timeseries.eval.ErrorModule |
---|
countsForTargets, getErrorsForTarget, getPredictionsForAllTargets, getPredictionsForTarget, 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 |
---|
public RRSEModule()
Method Detail |
---|
public void reset()
TSEvalModule
reset
in class ErrorModule
public void setRelativeRRSEModule(RRSEModule relative)
public double[] getPreviousActual()
public java.lang.String getEvalName()
TSEvalModule
getEvalName
in class ErrorModule
public java.lang.String getDescription()
TSEvalModule
getDescription
in class ErrorModule
public java.lang.String getDefinition()
TSEvalModule
getDefinition
in class ErrorModule
public void evaluateForInstance(java.util.List<NumericPrediction> forecasts, Instance inst) throws java.lang.Exception
TSEvalModule
evaluateForInstance
in class ErrorModule
forecasts
- a List of forecasted values. Each element
corresponds to one of the targets and is assumed to be in the same
order as the list of targets supplied to the setTargetFields() method.
java.lang.Exception
- if the evaluation can't be completed for some
reason.public double[] calculateMeasure() throws java.lang.Exception
TSEvalModule
calculateMeasure
in class ErrorModule
java.lang.Exception
- if the measure can't be computed for some reason.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |