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

Reorder auc only when needed #91

Merged
merged 4 commits into from
Feb 3, 2022
Merged

Conversation

djdameln
Copy link
Contributor

This PR adds reordering to the AUC computation, but applies it only when necessary (i.e. tpr is not increasing or decreasing). This prevents the situation where the tpr elements corresponding to duplicate values in the fpr array get reordered in an unpredictable manner due to unstable sorting, which in turn may lead to underestimation of the performance score (see my comment under this PR).

Copy link
Collaborator

@ashwinvaidya17 ashwinvaidya17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ashwinvaidya17 ashwinvaidya17 merged commit d5bc8b0 into development Feb 3, 2022
@ashwinvaidya17 ashwinvaidya17 deleted the fix/da/auc-reorder branch February 3, 2022 14:21
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.

None yet

3 participants