tidymodels / parsnip

A tidy unified interface to models
https://parsnip.tidymodels.org
Other
601 stars 89 forks source link

don't turn sparse matrix into dense matrix for glmnet prediction #1210

Open EmilHvitfeldt opened 2 months ago

EmilHvitfeldt commented 2 months ago

What the title says:

there isn't really an easy way to test for this. This doesn't show up in our current tests as this is outside the scope of {sparsevctrs}

EmilHvitfeldt commented 1 month ago

i got it done with some mocking 🎉

https://github.com/tidymodels/parsnip/pull/1210/commits/ba56e2a68fe30c4002a8711259d777a80e4c6c42