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

Add enable_categorical, better detection for being in a PG #235

Merged
merged 6 commits into from
Sep 20, 2022

Conversation

Yard1
Copy link
Member

@Yard1 Yard1 commented Sep 19, 2022

XGBoost>=1.5 added a new dmatrix param, enable_categorical. Adding it here.

This PR also makes the detection of the case of already being in a placement group more broad and not limited to just Tune. This allows for xgboost-ray to be ran in nested tasks that are not related to Tune (this should be two PRs really, but I needed one branch to patch it for hackathon).

Signed-off-by: Antoni Baum <[email protected]>
Signed-off-by: Antoni Baum <[email protected]>
Signed-off-by: Antoni Baum <[email protected]>
Signed-off-by: Antoni Baum <[email protected]>
Signed-off-by: Antoni Baum <[email protected]>
Copy link
Collaborator

@krfricke krfricke left a comment

Choose a reason for hiding this comment

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

Thanks!

@krfricke krfricke merged commit 536b702 into ray-project:master Sep 20, 2022
krfricke pushed a commit to ray-project/lightgbm_ray that referenced this pull request Sep 20, 2022
This PR also makes the detection of the case of already being in a placement group more broad and not limited to just Tune. This allows for lightgbm-ray to be ran in nested tasks that are not related to Tune (depends on ray-project/xgboost_ray#235).

Signed-off-by: Antoni Baum <[email protected]>
@krfricke
Copy link
Collaborator

Hm, maybe we should add a test for the enable_categorical property?

@Yard1
Copy link
Member Author

Yard1 commented Sep 20, 2022

@krfricke we can test that in AIR with a predictor?

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.

2 participants