Skip to content

Add Expected Calibration Error (ECE) metric using netcal - #785

Open
itsfernn wants to merge 1 commit into
huggingface:mainfrom
itsfernn:ece
Open

Add Expected Calibration Error (ECE) metric using netcal#785
itsfernn wants to merge 1 commit into
huggingface:mainfrom
itsfernn:ece

Conversation

@itsfernn

Copy link
Copy Markdown

Thin wrapper around netcal.metrics.confidence.ECE, following the same pattern as brier_score using sklearn. Returns a single-key dict {'ece': float}. Supports numeric and string references, and equal-interval / equal-mass (adaptive) binning.

closes #784

Thin wrapper around netcal.metrics.confidence.ECE, following the same
pattern as brier_score using sklearn. Returns a single-key dict
{'ece': float}. Supports numeric and string references, auto pos_label
inference, and equal-interval / equal-mass (adaptive) binning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: Add ECE to evaluate

1 participant