Package | Description |
---|---|
de.jstacs.classifiers |
This package provides the framework for any classifier.
|
de.jstacs.classifiers.performanceMeasures |
This package provides the implementations of performance measures that can be used to assess any classifier.
|
Modifier and Type | Method and Description |
---|---|
ResultSet |
AbstractClassifier.evaluate(AbstractPerformanceMeasureParameterSet<? extends PerformanceMeasure> params,
boolean exceptionIfNotComputeable,
DataSet... s)
This method evaluates the classifier and computes, for instance, the sensitivity for a given specificity, the
area under the ROC curve and so on.
|
ResultSet |
AbstractClassifier.evaluate(AbstractPerformanceMeasureParameterSet<? extends PerformanceMeasure> params,
boolean exceptionIfNotComputeable,
DataSet[] s,
double[][] weights)
This method evaluates the classifier and computes, for instance, the sensitivity for a given specificity, the
area under the ROC curve and so on.
|
protected boolean |
MappingClassifier.getResults(LinkedList list,
DataSet[] s,
double[][] weights,
AbstractPerformanceMeasureParameterSet<? extends PerformanceMeasure> params,
boolean exceptionIfNotComputeable) |
protected boolean |
AbstractScoreBasedClassifier.getResults(LinkedList list,
DataSet[] s,
double[][] weights,
AbstractPerformanceMeasureParameterSet<? extends PerformanceMeasure> params,
boolean exceptionIfNotComputeable) |
protected boolean |
AbstractClassifier.getResults(LinkedList list,
DataSet[] s,
double[][] weights,
AbstractPerformanceMeasureParameterSet<? extends PerformanceMeasure> params,
boolean exceptionIfNotComputeable)
This method computes the results for any evaluation of the classifier.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPerformanceMeasureParameterSet<T extends PerformanceMeasure>
This class implements a container of
PerformanceMeasure s that can be used
in AbstractClassifier.evaluate(AbstractPerformanceMeasureParameterSet, boolean, de.jstacs.data.DataSet...) . |
Modifier and Type | Interface and Description |
---|---|
interface |
NumericalPerformanceMeasure
This interface indicates that a Performance measure returns numerical results.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractNumericalTwoClassPerformanceMeasure
This class is the abstract super class of any performance measure that can only be computed for binary classifiers.
|
class |
AbstractPerformanceMeasure
This class is the abstract super class of any performance measure used to evaluate
an
AbstractClassifier . |
class |
AbstractTwoClassPerformanceMeasure
This class is the abstract super class of any performance measure that can only be computed for binary classifiers.
|
class |
AucPR
This class implements the area under curve of the precision-recall curve.
|
class |
AucROC
This class implements the area under curve of the Receiver Operating Characteristics curve.
|
class |
ClassificationRate
This class implements the classification rate, i.e.
|
class |
ConfusionMatrix
This class implements the performance measure confusion matrix.
|
class |
CorrelationCoefficient
PerformanceMeasure using Pearson or Spearman correlation between prediction scores and
weighted class labels. |
class |
FalsePositiveRateForFixedSensitivity
This class implements the false positive rate for a fixed sensitivity.
|
class |
MaximumCorrelationCoefficient
This class implements the maximum of the correlation coefficient
![]() |
class |
MaximumFMeasure
Computes the maximum of the general F-measure given a positive real parameter
![]() |
class |
MaximumNumericalTwoClassMeasure
This class prepares everything for an easy implementation of a maximum of any numerical performance measure.
|
class |
PositivePredictiveValueForFixedSensitivity
This class implements the positive predictive value for a fixed sensitivity.
|
class |
PRCurve
This class implements the precision-recall curve and its area under the curve.
|
class |
ROCCurve
This class implements the Receiver Operating Characteristics curve and the area under the curve.
|
class |
SensitivityForFixedSpecificity
This class implements the sensitivity for a fixed specificity.
|
Modifier and Type | Method and Description |
---|---|
protected static int |
AbstractPerformanceMeasureParameterSet.getNumberOfClasses(PerformanceMeasure[] measures)
Returns the number of classes the
PerformanceMeasure s in measures
can be applied to. |
Constructor and Description |
---|
AbstractPerformanceMeasureParameterSet(int numClasses,
boolean numerical,
T[] measures)
Creates a new
AbstractPerformanceMeasureParameterSet for the given number of classes and measures using only numerical
performance measures or not. |
AbstractPerformanceMeasureParameterSet(int numClasses,
SelectionParameter selection,
T... measures)
This constructor creates an instance with a given template
selection that can be used for classifiers handling a given number of classes. |
PerformanceMeasureParameterSet(PerformanceMeasure... measures)
Constructs a new
PerformanceMeasureParameterSet with the given performance measures. |