Skip to content

Instantly share code, notes, and snippets.

@tomonori-masui
Last active March 10, 2023 06:39
Show Gist options
  • Save tomonori-masui/9ba394d4c63c4c4353965cc0eccc22ff to your computer and use it in GitHub Desktop.
Save tomonori-masui/9ba394d4c63c4c4353965cc0eccc22ff to your computer and use it in GitHub Desktop.
fh = np.arange(test_len) + 1
forecast = forecaster.predict(fh=fh)
forecast_int = forecaster.predict_interval(fh=fh, coverage=coverage)['Coverage'][coverage]
nl_arima_mae, nl_arima_mape = plot_forecast(nl_train, nl_test, forecast, forecast_int)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment