prophet icon indicating copy to clipboard operation
prophet copied to clipboard

what happend in the two edition?

Open stevenjk2012 opened this issue 9 years ago • 7 comments

I use the same code and the same data to test,the result is quite different

stevenjk2012 avatar May 18 '17 02:05 stevenjk2012

fb0 1 1 fb0 1

stevenjk2012 avatar May 18 '17 02:05 stevenjk2012

the first picture is fbprophet0.1post; the other is fbprophet0.1.1

stevenjk2012 avatar May 18 '17 02:05 stevenjk2012

One of the major change, automatic creation of weekly and yearly seasonality. Previously seasonality were created no matter how the data is, but now creation depends on the condition given below-

  1. Turns on yearly seasonality if there is >=2 years of history.
  2. Turns on weekly seasonality if there is >=2 weeks of history, and the spacing between dates in the history is <7 days.

So, if your data has changed as per above given pointers then forecast will indeed change. If above does not answer the question, it would be good to have a look at the data

iampawansingh avatar May 18 '17 05:05 iampawansingh

ok,3q

stevenjk2012 avatar May 18 '17 13:05 stevenjk2012

Is there a way to disable automatic creation of weekly and yearly seasonality i.e. boolean parameter?

binoooh avatar May 18 '17 13:05 binoooh

@arvindacumos yes it can be disabled! when instantiating Prophet() give following argument as False. yearly_seasonality=False weekly_seasonality=False

i.e. instantiate Prophet as p = Prophet(yearly_seasonality=False, weekly_seasonality=False)

De-fault setting is 'auto' and in this case prophet will decide to create seasonality as given in my previous comment!

Hope this helps!

iampawansingh avatar May 18 '17 15:05 iampawansingh

Thanks allot @datafool

binoooh avatar May 19 '17 04:05 binoooh