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

Remove support for sparse matrices #939

Merged
merged 6 commits into from
May 3, 2021
Merged

Conversation

erikcs
Copy link
Member

@erikcs erikcs commented May 3, 2021

Removing this unnecessary feature (since none of the underlying forest algorithms leverages sparsity, this has practically zero performance impact), see #747. To convert from a sparse matrix just do as.matrix(X) and call the forest on that. OK'd offline by rest of @grf-labs.

@erikcs erikcs added the breaking Signifies a breaking change. label May 3, 2021
@erikcs erikcs changed the title Remove support for sparse training data Remove support for sparse matrices May 3, 2021
@erikcs erikcs merged commit 437e8d3 into grf-labs:master May 3, 2021
@erikcs erikcs deleted the RemoveSparseX branch May 3, 2021 21:44
erikcs added a commit to erikcs/grf that referenced this pull request May 4, 2021
* master:
  Clean up some `@importFrom` use (grf-labs#942)
  Add missing GNU notice to some bindings (grf-labs#941)
  Remove some unused #include's (grf-labs#940)
  Remove support for sparse matrices (grf-labs#939)
  Use do.call in get_forest_weights (grf-labs#938)
  Use do.call in instrumental predict (grf-labs#937)
  Fix docstring spelling (grf-labs#936)
@erikcs erikcs mentioned this pull request May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Signifies a breaking change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant