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

ENTMOOT does not work with newest lightgbm version #29

Closed
spiralulam opened this issue Nov 28, 2023 · 1 comment · Fixed by #36
Closed

ENTMOOT does not work with newest lightgbm version #29

spiralulam opened this issue Nov 28, 2023 · 1 comment · Fixed by #36

Comments

@spiralulam
Copy link
Collaborator

To reproduce it, try to run notebook "multi_obj_with_constraints" with the newest version of lightgbm.

@TobyBoyne
Copy link
Collaborator

After looking into it, I found the root of the issue - there was an undocumented change from v4.0.0 -> v4.1.0, where the categorical_feature argument of Dataset only accepts lists, and no longer allows tuples. Converting cat_idx to a list when fitting the model fixes this issue.

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 a pull request may close this issue.

2 participants