-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Deprecate LabelEncoder in XGBClassifier; Enable cuDF/cuPy inputs in XGBClassifier #6269
Conversation
Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve to the general idea. See minor comment.
Also please track it in #3986 .
Could someone explain why we made the deprecation decision for label encoder? I think most native sklearn classifiers do the label transformation internally and call inverse_transform at predict. This causes discrepancy between the xgboost sklearn interface and other sklearn classifiers. |
This was to accept cudf and cuPy arrays as X. |
Also to avoid saving the scikit learn object in xgboost model |
Closes #6232
cc @pseudotensor