Skip to content

Backport implementation of precision-recall gain AUC (Keras PR #21370) #851

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

iazzi
Copy link

@iazzi iazzi commented Jun 17, 2025

Backport of keras-team/keras#21370

We implement the AUC metric described in https://research-information.bris.ac.uk/files/72164009/5867_precision_recall_gain_curves_pr_analysis_done_right.pdf

This metric is intended to help classifiers when the true label fraction is far from balanced (0.5) and to be independent of the true label fraction, allowing to compare values between reweighted models, unlike the original PR curve.

iazzi added 2 commits June 17, 2025 08:56
Add PRGAIN enum for AUC metric types
Add implementation of precision-recall gain AUC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants