de.jstacs.classifiers.performanceMeasures
Class MaximumCorrelationCoefficient
java.lang.Object
de.jstacs.parameters.ParameterSet
de.jstacs.classifiers.performanceMeasures.AbstractPerformanceMeasure
de.jstacs.classifiers.performanceMeasures.AbstractTwoClassPerformanceMeasure
de.jstacs.classifiers.performanceMeasures.AbstractNumericalTwoClassPerformanceMeasure
de.jstacs.classifiers.performanceMeasures.MaximumNumericalTwoClassMeasure
de.jstacs.classifiers.performanceMeasures.MaximumCorrelationCoefficient
- All Implemented Interfaces:
- NumericalPerformanceMeasure, PerformanceMeasure, GalaxyConvertible, Storable, Cloneable
public class MaximumCorrelationCoefficient
- extends MaximumNumericalTwoClassMeasure
- implements NumericalPerformanceMeasure
This class implements the maximum of the correlation coefficient
.
- Author:
- Jan Grau, Jens Keilwagen
|
Method Summary |
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. |
| Methods inherited from class de.jstacs.parameters.ParameterSet |
clone, fromGalaxy, fromXML, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy, toXML |
MaximumCorrelationCoefficient
public MaximumCorrelationCoefficient()
- Constructs a new instance of the performance measure
MaximumCorrelationCoefficient.
MaximumCorrelationCoefficient
public MaximumCorrelationCoefficient(StringBuffer xml)
throws NonParsableException
- The standard constructor for the interface
Storable.
Constructs a MaximumCorrelationCoefficient out of an XML representation.
- Parameters:
xml - the XML representation as StringBuffer
- Throws:
NonParsableException - if the MaximumCorrelationCoefficient could not be reconstructed out of
the StringBuffer xml
getMeasureName
protected String getMeasureName()
- Description copied from class:
MaximumNumericalTwoClassMeasure
- This method returns a short name of the measure without any parameters.
- Specified by:
getMeasureName in class MaximumNumericalTwoClassMeasure
- Returns:
- a short name of the measure without any parameters
getSpecificName
protected String getSpecificName()
- Description copied from class:
MaximumNumericalTwoClassMeasure
- This method returns a specific name of the measure including any parameters.
- Specified by:
getSpecificName in class MaximumNumericalTwoClassMeasure
- Returns:
- a specific name of the measure including any parameters
getMeasure
protected double getMeasure(double tp,
double fp,
double fn,
double tn)
- Description copied from class:
MaximumNumericalTwoClassMeasure
- This measure compute the measure for a given confusion matrix
- Specified by:
getMeasure in class MaximumNumericalTwoClassMeasure
- Parameters:
tp - true positivesfp - false positivesfn - false negativestn - true negative
- Returns:
- the value of the measure