Contents:
pycalib.scoring.
accuracy
Computes the accuracy.
y (array-like) – Ground truth labels.
p_pred (array-like) – Array of confidence estimates.
float