Skip to content

Instantly share code, notes, and snippets.

@avisheknag17
Created September 15, 2020 12:41
Show Gist options
  • Save avisheknag17/f46aad5d0dffb2ce016a703ab1c1ff92 to your computer and use it in GitHub Desktop.
Save avisheknag17/f46aad5d0dffb2ce016a703ab1c1ff92 to your computer and use it in GitHub Desktop.
from statsmodels.tsa.statespace.sarimax import SARIMAX
model = SARIMAX(endog=Y_train.to_numpy(), exog=X_train.to_numpy().astype(float),
order=(0, 0, 0),seasonal_order=(2, 0, 1, 2))
model = model.fit(disp=False)
model.summary()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment