Skip to content

fix: pin LightGBM to <4.0.0 to avoid breaking API (closes #112) - #115

Open
botbikamordehai2-sketch wants to merge 1 commit into
nyanp:masterfrom
botbikamordehai2-sketch:fix/issue-112-1788012736
Open

botbikamordehai2-sketch wants to merge 1 commit into
nyanp:masterfrom
botbikamordehai2-sketch:fix/issue-112-1788012736

Conversation

@botbikamordehai2-sketch

Copy link
Copy Markdown

What

LightGBM 4.0.0 removed early_stopping_rounds from fit(), which breaks cross_validate and run_experiment.

Fix

Pin LightGBM to version <=3.3.5 in setup.py to prevent users from installing the incompatible version. This is a temporary workaround until the code is updated to use the new callback API.

Closes #112

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.

cross_validate don't work with LightGBM v4.0.0

1 participant