Search code examples
pythonprophet

Disable INFO: fbprophet: Disabling daily seasonality from printing


Can anyone help in disabling Prophet printing the Info on the terminal each time I train a model. I am training multiple models and each time it print this to the terminal :

INFO:fbprophet:Disabling daily seasonality. Run prophet with daily_seasonality=True to override this.

I have done a lot of searching and can not find a solution to this problem. Any anyone have a workaround?


Solution

  • Change this code:

    m = Prophet(holidays=holidays)
    

    And add the following:

    m = Prophet(holidays=holidays, daily_seasonality=True)