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

Implement event_level argument for threshold_perf() #45

Merged
merged 2 commits into from
Aug 24, 2022

Conversation

DavisVaughan
Copy link
Member

Closes #40

Not adding anything to make_two_class_pred(). The docs there are clear that estimate maps to the first level supplied in levels and I don't see any reason to support event_level there.

But threshold_perf() does need to support it because it computes metrics internally.

Since probably isn't used that much, and event_level = "second" is used even less, I've done a hard break by removing support for yardstick.event_level altogether in favor of the explicit event_level argument.

@DavisVaughan DavisVaughan merged commit e73a456 into main Aug 24, 2022
@DavisVaughan DavisVaughan deleted the feature/event-level branch August 24, 2022 18:53
@github-actions
Copy link

This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add event_level argument to make_two_class_pred()
1 participant