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

Sparse matrixes passed to ranger #874

Closed
alexilliamson opened this issue Apr 30, 2018 · 1 comment
Closed

Sparse matrixes passed to ranger #874

alexilliamson opened this issue Apr 30, 2018 · 1 comment

Comments

@alexilliamson
Copy link

Ranger was recently updated to handle sparse matrixes: imbs-hl/ranger#135

But caret converts data to a data.frame when before passing to ranger https://github.com/topepo/caret/blob/master/models/files/ranger.R

There was discussion of sparse matrices in #474, resulting in changes to the caret side of xgboost and glmnet. Would it be possible to make similar changes for ranger?

Thanks for the amazing work!

@topepo
Copy link
Owner

topepo commented Aug 19, 2020

This is a good idea.

Unfortunately, caret is at the lifecycle point of having a fairly complete interface, so this isn't a good fit.

The development work is focused on squashing bugs and any changed required by the underlying model packages.

@topepo topepo closed this as completed Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants