You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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)
orroc_curve(truth .pred_TRUE, event_level="second")
should be used. This might be backwards to how people may expectroc_curve(truth, .pred_TRUE)
to use the "TRUE" level.The text was updated successfully, but these errors were encountered: