Skip to content

Instantly share code, notes, and snippets.

@tomonori-masui
Last active March 10, 2023 06:39
Show Gist options
  • Save tomonori-masui/40df0a6e05ad3347e4cf4677f03b9187 to your computer and use it in GitHub Desktop.
Save tomonori-masui/40df0a6e05ad3347e4cf4677f03b9187 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]
wpi_arima_mae, wpi_arima_mape = plot_forecast(
wpi_train, wpi_test, forecast, forecast_int
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment