-
Notifications
You must be signed in to change notification settings - Fork 92
Consolidate glmnet predict methods #868
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the effort. all of this glmnet is quite unwieldy. Keeping it in a separate file will make it a lot easier organizational
Co-authored-by: Emil Hvitfeldt <[email protected]>
Approve! |
This pull request 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. |
This PR consolidates the different flavors of predict methods (
predict()
,predict_<type>()
andmulti_predict()
) for different glmnet model types into one function per predict method flavor.The goal is to bring it all in one place to more easily maintain/apply changes. I'm currently not touching the class of the glmnet
model_fit
objects (yet?).The glmnet tests in extratests run fine locally with this change. They'll run on CI when this in
main
.