Created
February 19, 2020 04:52
-
-
Save smly/ff61bb5f4b60c68418dddeadaf9bc7ed to your computer and use it in GitHub Desktop.
Revisions
-
smly created this gist
Feb 19, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ best_params, tuning_history = dict(), list() booster = lgb.train(params, dtrain, valid_sets=dval, verbose_eval=0, best_params=best_params, tuning_history=tuning_history) print(‘Best Params:’, best_params) print(‘Tuning history:’, tuning_history)