leeper / prediction

Tidy, Type-Safe 'prediction()' Methods
https://cran.r-project.org/package=prediction
Other
89 stars 14 forks source link

Add support for ridge::linearRidge prediction #44

Closed dfrankow closed 4 years ago

dfrankow commented 4 years ago

I'm trying to get margins for ridge regression. To do that, I need the predictions package to support ridge::linearRidge. I have a PR I'll send for review.

dfrankow commented 4 years ago

Here's the pull request: https://github.com/leeper/prediction/pull/45

leeper commented 4 years ago

thanks!

dfrankow commented 4 years ago

You're welcome.

However, I concluded I won't be able to make progress on margins for ridge. See https://github.com/leeper/margins/issues/140#issuecomment-627541489.

I hope this change is still helpful in some way.