-
-
Save dpbac/123670041e4aefdddcee377bb1002e80 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
from sklearn.metrics import mean_absolute_error, mean_absolute_percentage_error | |
metrics_arima = [round(mean_absolute_error(df_store_2_item_28_time[-90:],arima_mean),3), | |
round(mean_absolute_percentage_error(df_store_2_item_28_time[-90:],arima_mean),3)] | |
metrics_sarima_01 = [round(mean_absolute_error(df_store_2_item_28_time[-90:],sarima_01_mean),3), | |
round(mean_absolute_percentage_error(df_store_2_item_28_time[-90:],sarima_01_mean),3)] | |
metrics_sarima_02 = [round(mean_absolute_error(df_store_2_item_28_time[-90:],sarima_02_mean),3), | |
round(mean_absolute_percentage_error(df_store_2_item_28_time[-90:],sarima_02_mean),3)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment