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')