Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Expected calibration error #18

Open
vijay-jaisankar opened this issue Apr 3, 2023 · 2 comments
Open

Feature Request: Expected calibration error #18

vijay-jaisankar opened this issue Apr 3, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@vijay-jaisankar
Copy link
Contributor

I would like to raise a PR that implements the ECE metric in this file.

More specifically, the function proposed will take a list of softmax outputs, the y_true labels, and the number of bins. It will then calculate ECE as follows:

ECE calculation source

If this sounds like a good idea, please assign me to the same.

Thanks,
Vijay

@ZoranPandovski ZoranPandovski added the help wanted Extra attention is needed label Apr 3, 2023
@ZoranPandovski ZoranPandovski added the enhancement New feature or request label Apr 3, 2023
@paxcema
Copy link
Member

paxcema commented Apr 3, 2023

Hey @vijay-jaisankar, love this idea!

Just for reference, one of the pending bits of work from our end is to port into this repo some logic from Lightwood. In particular, we have an ECE implementation here (along with MCE and two other scores). I would recommend that you use it as reference for your contribution.

@vijay-jaisankar
Copy link
Contributor Author

Hello @paxcema , thanks for the info, will check it out while making the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants