de.jstacs.classifiers.performanceMeasures
Class NumericalPerformanceMeasureParameterSet

java.lang.Object
  extended by de.jstacs.parameters.ParameterSet
      extended by de.jstacs.parameters.ExpandableParameterSet
          extended by de.jstacs.classifiers.performanceMeasures.PerformanceMeasureParameterSet
              extended by de.jstacs.classifiers.performanceMeasures.NumericalPerformanceMeasureParameterSet
All Implemented Interfaces:
GalaxyConvertible, Storable, Cloneable

public class NumericalPerformanceMeasureParameterSet
extends PerformanceMeasureParameterSet

This class implements a container for NumericalPerformanceMeasures that can be used, for instance, in an repeated assessment, (cf. ClassifierAssessment).

Author:
Jens Keilwagen

Nested Class Summary
 
Nested classes/interfaces inherited from class de.jstacs.parameters.ParameterSet
ParameterSet.ParameterList
 
Field Summary
 
Fields inherited from class de.jstacs.parameters.ExpandableParameterSet
commentTemplate, nameTemplate, template
 
Fields inherited from class de.jstacs.parameters.ParameterSet
errorMessage, parameters, parent
 
Constructor Summary
NumericalPerformanceMeasureParameterSet()
          Constructs a new NumericalPerformanceMeasureParameterSet that can be used for binary classifiers.
NumericalPerformanceMeasureParameterSet(int numClasses)
          Constructs a new NumericalPerformanceMeasureParameterSet that can be used for classifiers that handle the given number of classes.
NumericalPerformanceMeasureParameterSet(StringBuffer xml)
          The standard constructor for the interface Storable.
 
Method Summary
 
Methods inherited from class de.jstacs.classifiers.performanceMeasures.PerformanceMeasureParameterSet
addMeasure, createFilledParameters, createFilledParameters, getAllMeasures, removeMeasure, removeMeasures, removeMeasures, setMeasure
 
Methods inherited from class de.jstacs.parameters.ExpandableParameterSet
addParameterToSet, clone, fromGalaxy, fromXML, parameterRemovable, removeParameterFromSet, replaceContentWith, toGalaxy, toXML
 
Methods inherited from class de.jstacs.parameters.ParameterSet
getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericalPerformanceMeasureParameterSet

public NumericalPerformanceMeasureParameterSet(StringBuffer xml)
                                        throws NonParsableException
The standard constructor for the interface Storable. Constructs a NumericalPerformanceMeasureParameterSet out of an XML representation.

Parameters:
xml - the XML representation as StringBuffer
Throws:
NonParsableException - if the NumericalPerformanceMeasureParameterSet could not be reconstructed out of the StringBuffer xml

NumericalPerformanceMeasureParameterSet

public NumericalPerformanceMeasureParameterSet(int numClasses)
                                        throws Exception
Constructs a new NumericalPerformanceMeasureParameterSet that can be used for classifiers that handle the given number of classes.

Parameters:
numClasses - the number of classes
Throws:
Exception - if something went wrong
See Also:
AbstractClassifier.getNumberOfClasses(), AbstractPerformanceMeasure.getCollectionOfAllMeasures(int, boolean), PerformanceMeasureParameterSet.PerformanceMeasureParameterSet(int, de.jstacs.parameters.SelectionParameter, AbstractPerformanceMeasure...)

NumericalPerformanceMeasureParameterSet

public NumericalPerformanceMeasureParameterSet()
                                        throws Exception
Constructs a new NumericalPerformanceMeasureParameterSet that can be used for binary classifiers.

Throws:
Exception - if something went wrong
See Also:
NumericalPerformanceMeasureParameterSet(int)