We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 981ed98 commit 02c6350Copy full SHA for 02c6350
R/predict_classprob.R
@@ -55,7 +55,7 @@ check_spec_levels <- function(spec) {
55
glue::glue(
56
"The outcome variable `{spec$preproc$y_var}` has a level called 'class'. ",
57
"This level is reserved for parsnip's classification internals; please ",
58
- "adjust the levels to use a different value."
+ "change the levels, perhaps with `forcats::fct_relevel()`."
59
),
60
call = NULL
61
)
0 commit comments