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

(R) Accept CSR data for predictions #7615

Merged
merged 2 commits into from
Jan 29, 2022
Merged

Conversation

david-cortes
Copy link
Contributor

Fixes #7610

This PR wraps the C function to create a DMatrix from CSR data in the R interface, allowing to pass prediction data in CSR format. The code is a copycat version of the existing CSC wrapper.

Copy link
Member

@trivialfis trivialfis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the feature! The PR looks good to me.

@trivialfis trivialfis merged commit 7f738e7 into dmlc:master Jan 29, 2022
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

Successfully merging this pull request may close these issues.

(R) Cannot predict on CSR data
2 participants