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?
to your account
Until there is a sparse tibble (I hope one day), there should be an option for process to convert the output to a sparse matrix format such as Matrix::dgCMatrix. See vignette("Intro2Matrix")
The text was updated successfully, but these errors were encountered:
A better option would be for bake and juice to have a format argument that defaults to "tibble" but could be "matrix", "dgCMatrix", or others.
Sorry, something went wrong.
A check for all of the same data type would need to occur for matrix and spare matrix formats. The summary method along with the selectors should make this easy.
Being able to output a sparse matrix would be hugely valueable! My research uses a lot of categorical variables, so I can benefit a lot from sparse matrices. Thanks!
First draft of outputting sparse matrix for issue #49
@jeffwong-nflx Take a look at this and see if it fits your needs.
Thanks Max, I will take a look
This feature is fantastic! Is there a way to specify that a recipe object outputs a sparse matrix when using caret:::train.recipe?
Unfortunately, no. I'm loath to add another argument to trainControl.
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.
No branches or pull requests