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 0fbcfd3 commit 6bf39b5Copy full SHA for 6bf39b5
R/rand_forest_data.R
@@ -206,7 +206,8 @@ set_pred(
206
c(
207
"`ranger` model does not appear to use class probabilities.",
208
"i" = "Was the model fit with `probability = TRUE`?"
209
- )
+ ),
210
+ call = call2("predict")
211
)
212
x
213
},
tests/testthat/_snaps/rand_forest_ranger.md
@@ -20,7 +20,7 @@
20
parsnip:::predict_classprob.model_fit(no_prob_model, new_data = lending_club[1:
21
6, num_pred])
22
Condition
23
- Error in `object$spec$method$pred$prob$pre()`:
+ Error in `predict()`:
24
! `ranger` model does not appear to use class probabilities.
25
i Was the model fit with `probability = TRUE`?
26
0 commit comments