public class MaximumCorrelationCoefficient extends MaximumNumericalTwoClassMeasure implements NumericalPerformanceMeasure
ParameterSet.ParameterList
errorMessage, parameters, parent
Constructor and Description |
---|
MaximumCorrelationCoefficient()
Constructs a new instance of the performance measure
MaximumCorrelationCoefficient . |
MaximumCorrelationCoefficient(StringBuffer xml)
The standard constructor for the interface
Storable . |
Modifier and Type | Method and Description |
---|---|
protected double |
getMeasure(double tp,
double fp,
double fn,
double tn)
This measure compute the measure for a given confusion matrix
|
protected String |
getMeasureName()
This method returns a short name of the measure without any parameters.
|
protected String |
getSpecificName()
This method returns a specific name of the measure including any parameters.
|
compute, getName
compute, compute, compute
getAllowedNumberOfClasses
findSplitIndex, findThreshold, getCollectionOfAllMeasures, 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, compute, compute, compute
getAllowedNumberOfClasses, getName
public MaximumCorrelationCoefficient()
MaximumCorrelationCoefficient
.public MaximumCorrelationCoefficient(StringBuffer xml) throws NonParsableException
Storable
.
Constructs a MaximumCorrelationCoefficient
out of an XML representation.xml
- the XML representation as StringBuffer
NonParsableException
- if the MaximumCorrelationCoefficient
could not be reconstructed out of
the StringBuffer
xml
protected String getMeasureName()
MaximumNumericalTwoClassMeasure
getMeasureName
in class MaximumNumericalTwoClassMeasure
protected String getSpecificName()
MaximumNumericalTwoClassMeasure
getSpecificName
in class MaximumNumericalTwoClassMeasure
protected double getMeasure(double tp, double fp, double fn, double tn)
MaximumNumericalTwoClassMeasure
getMeasure
in class MaximumNumericalTwoClassMeasure
tp
- true positivesfp
- false positivesfn
- false negativestn
- true negative