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

Use average of predicted probabilities instead of bin midpoint #112

Open
agormp opened this issue Jun 1, 2023 · 0 comments
Open

Use average of predicted probabilities instead of bin midpoint #112

agormp opened this issue Jun 1, 2023 · 0 comments

Comments

@agormp
Copy link

agormp commented Jun 1, 2023

Feature

This package looks extremely useful. Pretty plots, and very useful with the rugs and the options for windowing!

One suggestion: Currently the value on the x-axis is the bin midpoint. I would suggest to instead use the average of the predicted probabilities included in that bin: this will be the expected value of the event rate.

(For instance, if a bin only has predicted probabilities near the lower edge of the bin range, then we would also expect an event rate near that lower edge. Using the average predicted probability will sort this out)

This will mostly matter when using few bins.

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

No branches or pull requests

1 participant