Search code examples
pythonpython-3.xlogginglightgbm

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?


Solution

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