From f5708b0e3e2ad061d7d259a7d3bb960cb98308f8 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 27 Aug 2017 07:56:45 -0400 Subject: [PATCH] fix Signed-off-by: Kenneth Reitz --- predictions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/predictions.py b/predictions.py index 1fa5e92..d93376a 100644 --- a/predictions.py +++ b/predictions.py @@ -46,7 +46,6 @@ class MWT(object): return func -@MWT(timeout=120) def get_predictions(coin): c = Coin(coin.lower()) @@ -64,7 +63,7 @@ def get_predictions(coin): # log-transform y df['y'] = np.log(df['y']) - model = Prophet(weekly_seasonality=True) + model = Prophet(weekly_seasonality=True, mothly_seasonality=True, yearly_seasonality=True) model.fit(df) future_data = model.make_future_dataframe(periods=6, freq='h')