god damn it

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-08-27 07:59:24 -04:00
parent f5708b0e3e
commit 8ff50e8a2d
+1 -1
View File
@@ -63,7 +63,7 @@ def get_predictions(coin):
# log-transform y
df['y'] = np.log(df['y'])
model = Prophet(weekly_seasonality=True, mothly_seasonality=True, yearly_seasonality=True)
model = Prophet(weekly_seasonality=True, yearly_seasonality=True)
model.fit(df)
future_data = model.make_future_dataframe(periods=6, freq='h')