-
Notifications
You must be signed in to change notification settings - Fork 89
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
Allow type = "pred_int" for logistic regression? #1036
Comments
For parsnip, we typically only wrap predictions / prediction types available from the engine and that's not the case for However, you can get prediction intervals via the probably package. It runs under "conformal inference", which does not make it very obvious. Max presented on this at posit::conf this year and used the alternative title "how to make prediction intervals with no parametric assumptions"... (video here). There is also a tidymodels.org article on the topic. Is that helpful? |
Oh interesting, I didn't even realize that getting prediction intervals with |
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. |
As far as I can tell based on the code below, the capability to produce prediction intervals for logistic regression has not been implemented. Apologies if I'm mistaken and just not managed to figure out how to do it. I could do the song and dance of bootstrapping, but that is not my preferred method (unless you recommend it for technical reasons over a theoretical solution). Here is a small reproducible example taken mostly from documentation:
Session Info:
The text was updated successfully, but these errors were encountered: