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