stanbkt.utils.auc#

stanbkt.utils.auc(correctness, predictions)#

Compute the area under the ROC curve (AUC).

Parameters:
  • correctness (TypeAliasType) – Flattened binary correctness labels (0 or 1).

  • predictions (TypeAliasType) – Flattened predicted probabilities in [0, 1].

Returns:

AUC score in [0, 1].

Return type:

float