7

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?

musako
  • 897
  • 2
  • 10
  • 26

2 Answers2

5

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

Minh Nguyen
  • 755
  • 5
  • 11
0

Follow these points.

  1. Use "verbose= False" in "fit" method.
  2. Use "verbose= -100" when you call the classifier.
  3. Keep "silent = True" (default).