wGmdh.jGmdh.oldskul.measures
Class StructureValidationPerformance

java.lang.Object
  extended by wGmdh.jGmdh.oldskul.measures.Performance
      extended by wGmdh.jGmdh.oldskul.measures.StructureValidationPerformance
All Implemented Interfaces:
java.io.Serializable, weka.core.CapabilitiesHandler, weka.core.OptionHandler

public class StructureValidationPerformance
extends Performance

A delegate for performance measures on an independent set for model selection TODO: a strategy design pattern would make choice of measures/metrics more flexible

See Also:
Serialized Form

Field Summary
 
Fields inherited from class wGmdh.jGmdh.oldskul.measures.Performance
debug, measure
 
Constructor Summary
StructureValidationPerformance(Measure m)
           
 
Method Summary
 double calculate(Model model, int fold, double[] regressionGoal)
           
 
Methods inherited from class wGmdh.jGmdh.oldskul.measures.Performance
getCapabilities, getDebug, getMeasure, getOptions, listOptions, setDebug, setMeasure, setOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructureValidationPerformance

public StructureValidationPerformance(Measure m)
Method Detail

calculate

public double calculate(Model model,
                        int fold,
                        double[] regressionGoal)
Specified by:
calculate in class Performance