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

ENH: Add percentile based auto thresholds #68

Open
RUrlus opened this issue Feb 19, 2024 · 0 comments
Open

ENH: Add percentile based auto thresholds #68

RUrlus opened this issue Feb 19, 2024 · 0 comments

Comments

@RUrlus
Copy link
Owner

RUrlus commented Feb 19, 2024

Idea of Ilan:

Use percentile based auto thresholds:

thresholds = np.percentile(scores, np.linspace(1, 99, 99))

Benefits are that amount of thresholds is limited to 99 and is in domain by construction.
Perhaps most importantly each step flips a fixed number of predicted labels

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