Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liannewriting/a2adf63a80762e6b3392bff1149627e4 to your computer and use it in GitHub Desktop.
Save liannewriting/a2adf63a80762e6b3392bff1149627e4 to your computer and use it in GitHub Desktop.
time series prediction arima model python
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