Skip to content

Commit

Permalink
Pin LGB 4.0 (#537)
Browse files Browse the repository at this point in the history
* import

* fix for lgb 4.0
  • Loading branch information
tcapelle authored Jun 18, 2024
1 parent 21dff55 commit 0c7ed7d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions colabs/boosting/Simple_LightGBM_Integration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install -Uq 'lightgbm>=3.3.1'"
"!pip install -Uq 'lightgbm>=4.0.0'"
]
},
{
Expand Down Expand Up @@ -202,7 +202,7 @@
" 'verbosity': 0\n",
"}\n",
"\n",
"wandb.init(project='my-lightgbm-project', config=params);"
"wandb.init(project='my-lightgbm-project', config=params)"
]
},
{
Expand Down Expand Up @@ -234,8 +234,9 @@
" num_boost_round=30,\n",
" valid_sets=lgb_eval,\n",
" valid_names=('validation'),\n",
" early_stopping_rounds=5\n",
" callbacks=[wandb_callback()],\n",
" early_stopping_rounds=5)"
" )"
]
},
{
Expand Down

0 comments on commit 0c7ed7d

Please sign in to comment.