-
-
Save dpbac/4e5a0359062678f2251c6f5935edac08 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dates = df_store_2_item_28_time.index | |
| # Plot mean ARIMA and SARIMA predictions and observed | |
| plt.figure(figsize=(15,10)) | |
| plt.title('Comparing forecasting in sample of all models', size = 16) | |
| plt.plot(arima_mean.index, arima_mean, label='ARIMA(4,1,5)') | |
| plt.plot(sarima_01_mean.index, sarima_01_mean, label='SARIMA(0,1,6)(0,1,1)7') | |
| plt.plot(sarima_02_mean.index, sarima_02_mean, label='SARIMAX(6,1,1)(6,1,0)7') | |
| plt.plot(df_store_2_item_28_time[-90:], label='observed') | |
| plt.legend() | |
| plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment