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.
2 parents 8c089d3 + 00cabd9 commit 7e69c55Copy full SHA for 7e69c55
R/predict_numeric.R
@@ -8,7 +8,7 @@
8
predict_numeric.model_fit <- function (object, new_data, ...) {
9
if (object$spec$mode != "regression")
10
stop("`predict_numeric` is for predicting numeric outcomes. ",
11
- "Use `predict_class` or `predict_prob` for ",
+ "Use `predict_class` or `predict_classprob` for ",
12
"classification models.", call. = FALSE)
13
14
if (!any(names(object$spec$method) == "numeric"))
0 commit comments