public class DACModule extends ErrorModule
Constructor and Description |
---|
DACModule() |
Modifier and Type | Method and Description |
---|---|
double[] |
calculateMeasure()
Calculate the measure that this module represents.
|
void |
evaluateForInstance(List<weka.classifiers.evaluation.NumericPrediction> forecasts,
weka.core.Instance inst)
Evaluate the given forecast(s) with respect to the given
test instance.
|
String |
getDefinition()
Return the mathematical formula that this
evaluation module computes.
|
String |
getDescription()
Return the longer (single sentence) description
of this evaluation module
|
String |
getEvalName()
Return the short identifying name of this evaluation module
|
countsForTargets, getErrorsForTarget, getPredictionsForAllTargets, getPredictionsForTarget, reset, toString, toSummaryString
getModule, getModuleList, getTargetFields, setTargetFields
public String getEvalName()
getEvalName
in class ErrorModule
public String getDescription()
getDescription
in class ErrorModule
public String getDefinition()
getDefinition
in class ErrorModule
public void evaluateForInstance(List<weka.classifiers.evaluation.NumericPrediction> forecasts, weka.core.Instance inst) throws Exception
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.Exception
- if the evaluation can't be completed for some
reason.public double[] calculateMeasure() throws Exception
calculateMeasure
in class ErrorModule
Exception
- if the measure can't be computed for some reason.Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.