Skip to content

Instantly share code, notes, and snippets.

@liannewriting
Created August 9, 2022 14:08
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/54e1368fdfa399ea2e456252e015fd4a to your computer and use it in GitHub Desktop.
Save liannewriting/54e1368fdfa399ea2e456252e015fd4a to your computer and use it in GitHub Desktop.
time series prediction arima model python
mae = mean_absolute_error(df_test, forecast_test_auto)
mape = mean_absolute_percentage_error(df_test, forecast_test_auto)
rmse = np.sqrt(mean_squared_error(df_test, forecast_test_auto))
print(f'mae - auto: {mae}')
print(f'mape - auto: {mape}')
print(f'rmse - auto: {rmse}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment