Created
August 9, 2022 14:09
-
-
Save liannewriting/a2adf63a80762e6b3392bff1149627e4 to your computer and use it in GitHub Desktop.
time series prediction arima model python
This file contains 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
forecast_test_auto = auto_arima.predict(n_periods=len(df_test)) | |
df['forecast_auto'] = [None]*len(df_train) + list(forecast_test_auto) | |
df.plot() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment