I use LightGBM model and it's method
train. And there is a parameter
verbose_eval=1 that prints LightGBM's progress.
I want to catch this progress (save in variable): I start train model from Flask, so I need to send this progress through REST API.
Is it possible?
P.S. One thing making my problem harder: I use multiprocessing module (
Process). I run several models simultaniously.
So I can't use @Mykhailo Lisovyi approach: models will print into one flow. I can not determine which data from which model.