Closed SverreNystad closed 8 months ago
Code snippet for Prophet
from fbprophet import Prophet
# Prepare dataframe df with columns 'ds' and 'y'
model = Prophet()
model.fit(df)
# Make future dataframe
future = model.make_future_dataframe(periods=365)
forecast = model.predict(future)
# Plotting the forecast
fig = model.plot(forecast)
Tried but did not give better results then XGBoost
Video: https://www.youtube.com/watch?v=j0eioK5edqg Notebook: https://www.kaggle.com/code/robikscube/time-series-forecasting-with-prophet-yt/notebook