public class NumericalPerformanceMeasureParameterSet extends AbstractPerformanceMeasureParameterSet<NumericalPerformanceMeasure>
NumericalPerformanceMeasures that can be used, for instance, in an repeated assessment,
(cf. ClassifierAssessment).ParameterSet.ParameterListcommentTemplate, nameTemplate, templateerrorMessage, 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, setMeasureaddParameterToSet, clone, fromGalaxy, fromXML, parameterRemovable, removeParameterFromSet, replaceContentWith, toGalaxy, toXMLgetAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParentpublic NumericalPerformanceMeasureParameterSet(StringBuffer xml) throws NonParsableException
Storable.
Constructs a NumericalPerformanceMeasureParameterSet out of an XML representation.xml - the XML representation as StringBufferNonParsableException - if the NumericalPerformanceMeasureParameterSet could not be reconstructed out of
the StringBuffer xmlpublic NumericalPerformanceMeasureParameterSet(int numClasses)
throws Exception
NumericalPerformanceMeasureParameterSet that can be used for classifiers that
handle the given number of classes. Automatically includes all AbstractPerformanceMeasures 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 NumericalPerformanceMeasures. If no measure is given, a new
NumericalPerformanceMeasureParameterSet for binary classifiers is created.measures - the NumericalPerformanceMeasure that shall be usedException - if something went wrong