average_precision_score¶
- probly.metrics.average_precision_score = <flextype.singledispatch.Flexdispatch object>¶
Compute average precision (area under the precision-recall curve).
Uses the step-function interpolation.
- Parameters:
y_true – Binary ground-truth labels (0 or 1).
y_score – Predicted scores.
- Returns:
Average precision value.