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

Fix #3714: preserve feature names when slicing DMatrix #3766

Merged
merged 2 commits into from
Oct 8, 2018

Conversation

hcho3
Copy link
Collaborator

@hcho3 hcho3 commented Oct 7, 2018

Feature names were being silently ignored when data is empty, as is the case for slice().

@hcho3 hcho3 merged commit 10cd7c8 into dmlc:master Oct 8, 2018
@hcho3 hcho3 deleted the fix_slice branch October 8, 2018 08:04
CodingCat pushed a commit to CodingCat/xgboost that referenced this pull request Oct 25, 2018
* Fix dmlc#3714: preserve feature names when slicing DMatrix

* Add test
alois-bissuel pushed a commit to criteo-forks/xgboost that referenced this pull request Dec 4, 2018
* Fix dmlc#3714: preserve feature names when slicing DMatrix

* Add test
@lock lock bot locked as resolved and limited conversation to collaborators Jan 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant