wGmdh.jGmdh.oldskul.measures
Class StructureLearningPerformance

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

public class StructureLearningPerformance
extends Performance

A delegate for error measures. TODO: a strategy design pattern would make choice of measures even more flexible (i.e. during runtime)

See Also:
Serialized Form

Field Summary
 
Fields inherited from class wGmdh.jGmdh.oldskul.measures.Performance
debug, measure
 
Constructor Summary
StructureLearningPerformance(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

StructureLearningPerformance

public StructureLearningPerformance(Measure m)
Method Detail

calculate

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