autointent.metrics.scoring.scoring_accuracy#

autointent.metrics.scoring.scoring_accuracy(labels, scores)#

Calculate accuracy for multiclass and multilabel classification.

This function computes accuracy by using autointent.metrics.decision.decision_accuracy() to evaluate decisions.

Parameters:
  • labels (autointent.metrics.custom_types.LABELS_VALUE_TYPE) – ground truth labels for each utterance

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

Returns:

Score of the scoring metric

Return type:

float