-
Notifications
You must be signed in to change notification settings - Fork 7.1k
[train] Enable deprecation warning for legacy xgboost/lightgbm trainer APIs #57280
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
Conversation
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
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.
Code Review
This pull request enables deprecation warnings for the legacy XGBoost and LightGBM trainer APIs. The changes look good and achieve the intended goal. My feedback focuses on improving the clarity and consistency of the new user-facing warning messages to ensure they are as helpful as possible.
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
…r APIs (ray-project#57280) Emit the deprecation warning for the legacy XGBoostTrainer API, in preparation for Train V2 migration (which only supports the new custom training function API). --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com>
…r APIs (ray-project#57280) Emit the deprecation warning for the legacy XGBoostTrainer API, in preparation for Train V2 migration (which only supports the new custom training function API). --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: Josh Kodi <joshkodi@gmail.com>
…r APIs (ray-project#57280) Emit the deprecation warning for the legacy XGBoostTrainer API, in preparation for Train V2 migration (which only supports the new custom training function API). --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com>
…r APIs (ray-project#57280) Emit the deprecation warning for the legacy XGBoostTrainer API, in preparation for Train V2 migration (which only supports the new custom training function API). --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com>
…r APIs (ray-project#57280) Emit the deprecation warning for the legacy XGBoostTrainer API, in preparation for Train V2 migration (which only supports the new custom training function API). --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: xgui <xgui@anyscale.com>
…r APIs (#57280) Emit the deprecation warning for the legacy XGBoostTrainer API, in preparation for Train V2 migration (which only supports the new custom training function API). --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
…r APIs (ray-project#57280) Emit the deprecation warning for the legacy XGBoostTrainer API, in preparation for Train V2 migration (which only supports the new custom training function API). --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com>
…r APIs (ray-project#57280) Emit the deprecation warning for the legacy XGBoostTrainer API, in preparation for Train V2 migration (which only supports the new custom training function API). --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: Aydin Abiar <aydin@anyscale.com>
…r APIs (ray-project#57280) Emit the deprecation warning for the legacy XGBoostTrainer API, in preparation for Train V2 migration (which only supports the new custom training function API). --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: Future-Outlier <eric901201@gmail.com>
Summary
Emit the deprecation warning for the legacy XGBoostTrainer API, in preparation for Train V2 migration (which only supports the new custom training function API).
Links to this issue with migration support: #50042
Example output