public class NumericalPerformanceMeasureParameterSet extends AbstractPerformanceMeasureParameterSet<NumericalPerformanceMeasure>
NumericalPerformanceMeasure
s that can be used, for instance, in an repeated assessment,
(cf. ClassifierAssessment
).ParameterSet.ParameterList
commentTemplate, nameTemplate, template
errorMessage, parameters, parent
Constructor and Description |
---|
NumericalPerformanceMeasureParameterSet(int numClasses)
Constructs a new
NumericalPerformanceMeasureParameterSet that can be used for classifiers that
handle the given number of classes. |
NumericalPerformanceMeasureParameterSet(NumericalPerformanceMeasure... measures)
Constructs a new
NumericalPerformanceMeasureParameterSet with the given performance measures. |
NumericalPerformanceMeasureParameterSet(StringBuffer xml)
The standard constructor for the interface
Storable . |
createFilledParameters, createFilledParameters, getAllMeasures, getNumberOfClasses, removeMeasure, removeMeasures, removeMeasures, setMeasure
addParameterToSet, clone, fromGalaxy, fromXML, parameterRemovable, removeParameterFromSet, replaceContentWith, toGalaxy, toXML
getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent
public NumericalPerformanceMeasureParameterSet(StringBuffer xml) throws NonParsableException
Storable
.
Constructs a NumericalPerformanceMeasureParameterSet
out of an XML representation.xml
- the XML representation as StringBuffer
NonParsableException
- if the NumericalPerformanceMeasureParameterSet
could not be reconstructed out of
the StringBuffer
xml
public NumericalPerformanceMeasureParameterSet(int numClasses) throws Exception
NumericalPerformanceMeasureParameterSet
that can be used for classifiers that
handle the given number of classes. Automatically includes all AbstractPerformanceMeasure
s that can be
computed for the given number of classes.numClasses
- the number of classesException
- if something went wrongAbstractClassifier.getNumberOfClasses()
public NumericalPerformanceMeasureParameterSet(NumericalPerformanceMeasure... measures) throws Exception
NumericalPerformanceMeasureParameterSet
with the given performance measures.
The number of classes this NumericalPerformanceMeasureParameterSet
can be used for is determined from
the given NumericalPerformanceMeasure
s. If no measure is given, a new
NumericalPerformanceMeasureParameterSet
for binary classifiers is created.measures
- the NumericalPerformanceMeasure
that shall be usedException
- if something went wrong