-
-
Save dpbac/b8a89a05e2b7e5341cd9c2d06cfd7610 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
sarima_01_model = SARIMAX(df_store_2_item_28_time, order=(0,1,6), seasonal_order=(0,1,1,7)) | |
sarima_01_results = sarima_01_model.fit() | |
# Calculate the mean absolute error from residuals | |
mae = np.mean(np.abs(sarima_01_results.resid)) | |
# Print mean absolute error | |
print('MAE: %.3f' % mae) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment