Skip to content

Instantly share code, notes, and snippets.

@mikekeith52
Created March 15, 2022 14:46
Show Gist options
  • Select an option

  • Save mikekeith52/7e67a63f157216a45b574782069ecdd8 to your computer and use it in GitHub Desktop.

Select an option

Save mikekeith52/7e67a63f157216a45b574782069ecdd8 to your computer and use it in GitHub Desktop.
f.set_validation_length(12)
grid = {
'order':[(1,1,1),(1,1,0),(0,1,1)],
'seasonal_order':[(2,1,1,12),(1,1,1,12),(2,1,0,12),(0,1,0,12)]
}
f.ingest_grid(grid)
f.tune()
f.auto_forecast(call_me='arima4')
f.plot_test_set(ci=True,models='arima4')
plt.title('ARIMA Test-Set Performance',size=14)
plt.show()
f.plot(ci=True,models='arima4')
plt.title('ARIMA Forecast Performance',size=14)
plt.show()
f.regr.summary()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment