Package org.tribuo.classification.evaluation
package org.tribuo.classification.evaluation
Evaluation classes for multi-class classification. Also used as the basis for
the multi-label classification evaluation package.
The default metrics calculated are found in LabelMetrics
,
and are based on statistics calculated from a ConfusionMatrix
.
User specified metrics are not currently supported.
-
ClassDescriptionClassifierEvaluation<T extends Classifiable<T>>Defines methods that calculate classification performance, used for both multi-class and multi-label classification.ConfusionMatrix<T extends Classifiable<T>>A confusion matrix for
Classifiable
s.Static functions for computing classification metrics based on aConfusionMatrix
.A confusion matrix forLabel
s.Adds multi-class classification specific metrics toClassifierEvaluation
.Static utility functions for calculating performance metrics onLabel
s.Stores the Precision-Recall curve as three arrays: the precisions, the recalls, and the thresholds associated with those values.Stores the ROC curve as three arrays: the false positive rate, the true positive rate, and the thresholds associated with those rates.The context for aLabelMetric
is aConfusionMatrix
.An enum of the defaultLabelMetric
s supported by the multi-class classification evaluation package.