de.jstacs.classifiers.performanceMeasures
Class NumericalPerformanceMeasureParameterSet
java.lang.Object
de.jstacs.parameters.ParameterSet
de.jstacs.parameters.ExpandableParameterSet
de.jstacs.classifiers.performanceMeasures.PerformanceMeasureParameterSet
de.jstacs.classifiers.performanceMeasures.NumericalPerformanceMeasureParameterSet
- All Implemented Interfaces:
- GalaxyConvertible, Storable, Cloneable
public class NumericalPerformanceMeasureParameterSet
- extends PerformanceMeasureParameterSet
This class implements a container for NumericalPerformanceMeasure
s that can be used, for instance, in an repeated assessment,
(cf. ClassifierAssessment
).
- Author:
- Jens Keilwagen
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 |
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)