autointent.metrics.scoring_recall#

autointent.metrics.scoring_recall(labels, scores)#

Calculate recall for multiclass and multilabel classification.

This function computes recall by using autointent.metrics.decision.decision_recall() to evaluate decisions.

Parameters:
  • labels (autointent.metrics.custom_types.LABELS_VALUE_TYPE) – Ground truth labels for each sample

  • scores (autointent.metrics.custom_types.SCORES_VALUE_TYPE) – For each sample, this list contains scores for each of n_classes classes

Returns:

Recall score

Return type:

float