Skip to content

Instantly share code, notes, and snippets.

@tomonori-masui
Created July 4, 2021 03:18
Show Gist options
  • Save tomonori-masui/3818e3cbaff144580a3a7b637c55527c to your computer and use it in GitHub Desktop.
Save tomonori-masui/3818e3cbaff144580a3a7b637c55527c to your computer and use it in GitHub Desktop.
test_len = int(len(ts_al) * 0.3)
al_train, al_test = ts_al.iloc[:-test_len], ts_al.iloc[-test_len:]
forecaster = AutoARIMA(sp=12, suppress_warnings=True)
forecaster.fit(al_train)
forecaster.summary()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment