-
Notifications
You must be signed in to change notification settings - Fork 87
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
Make LightGBM not verbose #4308
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #4308 +/- ##
=====================================
Coverage 99.7% 99.7%
=====================================
Files 357 357
Lines 39739 39739
=====================================
Hits 39619 39619
Misses 120 120
☔ View full report in Codecov by Sentry. |
@@ -108,6 +108,7 @@ def __init__( | |||
"n_jobs": n_jobs, | |||
"bagging_freq": bagging_freq, | |||
"bagging_fraction": bagging_fraction, | |||
"verbose": -1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: this does suppress everything that LightGBM would display. (including info and warnings).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!
Pull Request Description
Closes #4307
Whenever you run
automl.search()
, LightGBM really likes to say the same warning over and over again.For example, in the start page of the documentation for EvalML even if you set
verbose=False
:the output has this:
This continues for like 70 more lines.After creating the pull request: in order to pass the release_notes_updated check you will need to update the "Future Release" section of
docs/source/release_notes.rst
to include this pull request by adding :pr:123
.