public class PerformanceMeasureParameterSet extends AbstractPerformanceMeasureParameterSet<PerformanceMeasure>
AbstractPerformanceMeasures that can be used
in AbstractClassifier.evaluate(AbstractPerformanceMeasureParameterSet, boolean, de.jstacs.data.DataSet...).ParameterSet.ParameterListcommentTemplate, nameTemplate, templateerrorMessage, parameters, parent| Constructor and Description |
|---|
PerformanceMeasureParameterSet(int numClasses)
Constructs a new
PerformanceMeasureParameterSet that can be used for classifiers that
handle the given number of classes. |
PerformanceMeasureParameterSet(PerformanceMeasure... measures)
Constructs a new
PerformanceMeasureParameterSet with the given performance measures. |
PerformanceMeasureParameterSet(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 PerformanceMeasureParameterSet(StringBuffer xml) throws NonParsableException
Storable.
Constructs a PerformanceMeasureParameterSet out of an XML representation.xml - the XML representation as StringBufferNonParsableException - if the PerformanceMeasureParameterSet could not be reconstructed out of
the StringBuffer xmlpublic PerformanceMeasureParameterSet(int numClasses)
throws Exception
PerformanceMeasureParameterSet that can be used for classifiers that
handle the given number of classes.numClasses - the number of classesException - if something went wrongAbstractClassifier.getNumberOfClasses()public PerformanceMeasureParameterSet(PerformanceMeasure... measures) throws Exception
PerformanceMeasureParameterSet with the given performance measures.
The number of classes this PerformanceMeasureParameterSet can be used for is determined from
the given AbstractPerformanceMeasures. If no measure is given, a new
PerformanceMeasureParameterSet for binary classifiers is created.measures - the AbstractPerformanceMeasure that shall be usedException - if something went wrong