Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I stop the log output of lightgbm?

I would like to know how to stop lightgbm logging. What kind of settings should I use to stop the log? Also, is there a way to output only your own log with the lightgbm log stopped?

like image 726
musako Avatar asked Dec 16 '25 13:12

musako


1 Answers

I think you can disable lightgbm logging using verbose=-1 in both Dataset constructor and train function, as mentioned here

like image 130
Minh Nguyen Avatar answered Dec 19 '25 02:12

Minh Nguyen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!