Closed jmrichardson closed 4 years ago
@jmrichardson Hi!
Unfortunately, without a fully reproducible example it is hard to say why setting verbosity=-1
didn't help to suppress warnings. However, I'd advise you to fix a root cause of these warnings: use aliases that are used in scikit-learn wrapper as normal arguments. Then all warnings will be disappear.
@StrikerRUS thank you for the tip. That worked perfectly and didn't cross my mind to actually fix the warning :)
@StrikerRUS thank you for the tip. That worked perfectly and didn't cross my mind to actually fix the warning :)
@jmrichardson Hi, I encounter a similar problem, could you please give an example about how you suppressed these warning messages? Thanks a lot in advance!
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.
Hi, I am unable to disable warning messages. I have found a few references in the issues list however none of the remedies are helping. I am using raytune with lightgbm to tune HPO and using sklearn cross_val_score:
I have tried setting verbose and verbosity to -1 in params. Also with creation of the model. As you can see I am using cross_val_score to do cross validation score so I don't think I can set the verbosity in the X, y dataset. Unfortunately, I am getting a bunch of warning messages per tuning run (lots):
Using version LGBM v2.3.1
Can anyone help me?