wGmdh.jGmdh.oldskul.measures
Class Performance

java.lang.Object
  extended by 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

Field Summary
protected  boolean debug
           
protected  Measure measure
           
 
Constructor Summary
Performance()
           
 
Method Summary
abstract  double calculate(Model model, int fold, double[] regressionGoal)
           
 weka.core.Capabilities getCapabilities()
           
 boolean getDebug()
           
 Measure getMeasure()
           
 java.lang.String[] getOptions()
           
 java.util.Enumeration listOptions()
           
 void setDebug(boolean b)
           
 void setMeasure(Measure m)
           
 void setOptions(java.lang.String[] options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

measure

protected Measure measure

debug

protected boolean debug
Constructor Detail

Performance

public Performance()
Method Detail

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()