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

make error context more informative for ranger test #1200

Closed
simonpcouch opened this issue Sep 10, 2024 · 1 comment
Closed

make error context more informative for ranger test #1200

simonpcouch opened this issue Sep 10, 2024 · 1 comment
Labels
upkeep maintenance, infrastructure, and similar

Comments

@simonpcouch
Copy link
Contributor

Code
parsnip:::predict_classprob.model_fit(no_prob_model, new_data = lending_club[1:
6, num_pred])
Condition
Error in `object$spec$method$pred$prob$pre()`:
! `ranger` model does not appear to use class probabilities.
i Was the model fit with `probability = TRUE`?

Noticed this in the transition to snapshot testing in #1190.

@simonpcouch simonpcouch added the upkeep maintenance, infrastructure, and similar label Sep 10, 2024
Copy link

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
upkeep maintenance, infrastructure, and similar
Projects
None yet
Development

No branches or pull requests

1 participant