xpectra.expected_calibration_error

xpectra.expected_calibration_error(y_true, proba, n_bins=15, strategy='uniform')[source]

Top-label ECE plus the per-bin table used for reliability diagrams.

Parameters:
Return type:

tuple[float, DataFrame]