wGmdh.jGmdh.oldskul.measures
Class Performance
java.lang.Object
wGmdh.jGmdh.oldskul.measures.Performance
- All Implemented Interfaces:
- java.io.Serializable, weka.core.CapabilitiesHandler, weka.core.OptionHandler
- Direct Known Subclasses:
- StructureLearningPerformance, StructureValidationPerformance
public abstract class Performance
- extends java.lang.Object
- implements java.io.Serializable, weka.core.OptionHandler, weka.core.CapabilitiesHandler
An abstraction of selection criteria and error measures.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
measure
protected Measure measure
debug
protected boolean debug
Performance
public Performance()
setMeasure
public void setMeasure(Measure m)
getMeasure
public Measure getMeasure()
calculate
public abstract double calculate(Model model,
int fold,
double[] regressionGoal)
setOptions
public void setOptions(java.lang.String[] options)
throws java.lang.Exception
- Specified by:
setOptions
in interface weka.core.OptionHandler
- Parameters:
options
-
- Throws:
java.lang.Exception
getOptions
public java.lang.String[] getOptions()
- Specified by:
getOptions
in interface weka.core.OptionHandler
- Returns:
getCapabilities
public weka.core.Capabilities getCapabilities()
- Specified by:
getCapabilities
in interface weka.core.CapabilitiesHandler
- Returns:
listOptions
public java.util.Enumeration listOptions()
- Specified by:
listOptions
in interface weka.core.OptionHandler
setDebug
public void setDebug(boolean b)
getDebug
public boolean getDebug()