autointent.metrics.decision#

Prediction metrics for multiclass and multilabel classification tasks.

Attributes#

Classes#

DecisionMetricFn

Protocol for decision metrics.

Functions#

decision_accuracy(y_true, y_pred)

Calculate decision accuracy. Supports both multiclass and multilabel.

decision_roc_auc(y_true, y_pred)

Calculate ROC AUC for multiclass and multilabel classification.

decision_precision(y_true, y_pred)

Calculate decision precision. Supports both multiclass and multilabel.

decision_recall(y_true, y_pred)

Calculate decision recall. Supports both multiclass and multilabel.

decision_f1(y_true, y_pred)

Calculate decision f1 score. Supports both multiclass and multilabel.

Module Contents#

autointent.metrics.decision.logger#