Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Time Series Forecastings.ipynb work with python 3.10.10 #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gabriel1628
Copy link

Make the program work with matplotlib 3.7.0, numpy 1.24.2, pandas 1.5.3 statsmodels 0.13.5 and prophet 1.1.2

@gabriel1628
Copy link
Author

Hello Susan, I've read your tutorial 'An End-to-End Project on Time Series Analysis and Forecasting with Python'
on towardsdatascience.com and I really appreciated so I would like to thank you for your work. I had to make some
changes in the code to make it work, I guess it's because
the librairies have evolved since then. I am working on python 3.10.10 with matplotlib 3.7.0, numpy 1.24.2,
pandas 1.5.3 statsmodels 0.13.5 and prophet 1.1.2. Here are some modifications I've brought :

The best results I get with ARIMA are obtained for the parameters (0, 1, 1) and (0, 1, 1, 12) with an AIC of 279.58.
However, the MSE and RMSE I get are larger.

When fitting with the ARIMA model, I had to remove enforce_stationarity=False for making the command
results.plot_diagnostics(figsize=(16, 8)) work.

fbprophet package is know prophet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant