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] Add optional check on column names matching in predict #10020

Merged
merged 2 commits into from Jan 31, 2024

Conversation

david-cortes
Copy link
Contributor

ref #9810

Per previous discussions, this PR adds an optional check in predict to ensure that column names match.

Unlike the python interface, it will try to reorder the input in the same way other R predict methods would do, and will also make a check about column types when possible.

@trivialfis trivialfis merged commit 1e72dc1 into dmlc:master Jan 31, 2024
23 of 27 checks passed
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.

None yet

2 participants