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

Specify event_level in getting started #87

Open
jxu opened this issue Dec 2, 2024 · 0 comments
Open

Specify event_level in getting started #87

jxu opened this issue Dec 2, 2024 · 0 comments

Comments

@jxu
Copy link

jxu commented Dec 2, 2024

https://www.tidymodels.org/start/recipes/#predict-workflow

In roc_curve, make a mention of the event level being default the first.

I have run into more than once using a factor truth with levels "FALSE" and "TRUE", roc_curve(truth, .pred_FALSE) or roc_curve(truth .pred_TRUE, event_level="second") should be used. This might be backwards to how people may expect roc_curve(truth, .pred_TRUE) to use the "TRUE" level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants