Prophet: disable or hide verbose logger output

Viewed 614

Using ~~facebook~~ meta prophet's cross-validation function, I get lots of this:

WARNING:prophet.models:Optimization terminated abnormally. Falling back to Newton.

I can disable the stan output using this, but I can't seem to get rid of these pesky logs. I might find them useful if I was running this interactively, but I'm not.

I'm already doing this near the top of my script:

import logging
logging.getLogger('fbprophet').setLevel(logging.ERROR)

It doesn't help.

0 Answers
Related