Created
August 9, 2022 13:51
-
-
Save liannewriting/fbecf0ae73dcc96d48586b2d0f2744e8 to your computer and use it in GitHub Desktop.
time series prediction arima model python
This file contains 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
from statsmodels.tsa.arima.model import ARIMA | |
model = ARIMA(df_train, order=(2,1,0)) | |
model_fit = model.fit() | |
print(model_fit.summary()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment