Created
July 3, 2021 18:11
-
-
Save tomonori-masui/720846fd765dd7711fa221770f8261e4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ts_wpi.index = ts_wpi.index.to_period("Q") | |
test_len = int(len(ts_wpi) * 0.25) | |
wpi_train, wpi_test = ts_wpi.iloc[:-test_len], ts_wpi.iloc[-test_len:] | |
forecaster = AutoARIMA(suppress_warnings=True) | |
forecaster.fit(wpi_train) | |
forecaster.summary() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment