Classification

Classification#

A collection of different metrics for classification models.

AUCPR(true_positives, false_positives, ...)

Computes area under the precision-recall curve for binary classification given predictions and labels.

AUCROC(true_positives, true_negatives, ...)

Computes Area Under the ROC curve (AUC-ROC).

Accuracy(total, count)

Computes accuracy, which is the frequency with which predictions match labels.

FBetaScore(true_positives, false_positives, ...)

F-Beta score Metric class.

Precision(true_positives, false_positives)

Computes precision for binary classification given predictions and labels.

Recall(true_positives, false_negatives)

Computes recall for binary classification given predictions and labels.