public abstract class AbstractTwoClassPerformanceMeasure extends AbstractPerformanceMeasure
ParameterSet.ParameterList
errorMessage, parameters, parent
Modifier | Constructor and Description |
---|---|
protected |
AbstractTwoClassPerformanceMeasure()
Constructs a new
AbstractTwoClassPerformanceMeasure with empty parameter values. |
protected |
AbstractTwoClassPerformanceMeasure(StringBuffer xml)
The standard constructor for the interface
Storable . |
Modifier and Type | Method and Description |
---|---|
ResultSet |
compute(double[][][] classSpecificScores,
double[][] weights)
This method allows to compute the performance measure of given class specific scores.
|
int |
getAllowedNumberOfClasses()
This method returns the allowed number of classes.
|
compute, compute, findSplitIndex, findThreshold, getCollectionOfAllMeasures, getName, getWeight, simpleWeights
clone, fromGalaxy, fromXML, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy, toXML
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute
protected AbstractTwoClassPerformanceMeasure()
AbstractTwoClassPerformanceMeasure
with empty parameter values.protected AbstractTwoClassPerformanceMeasure(StringBuffer xml) throws NonParsableException
Storable
.
Constructs a AbstractTwoClassPerformanceMeasure
out of an XML representation.xml
- the XML representation as StringBuffer
NonParsableException
- if the AbstractTwoClassPerformanceMeasure
could not be reconstructed out of
the StringBuffer
xml
public ResultSet compute(double[][][] classSpecificScores, double[][] weights)
PerformanceMeasure
classSpecificScores
- the scores; first dimension = data sets, second dimension = sequences of the data set, third dimension classes of the classifierweights
- the weights for all sequence in all data setspublic final int getAllowedNumberOfClasses()
PerformanceMeasure
AbstractClassifier.getNumberOfClasses()