mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
added additional scenarios to automated model tests
This commit is contained in:
parent
7ef08b1778
commit
3699c9cd64
1 changed files with 3 additions and 3 deletions
|
|
@ -1480,11 +1480,11 @@ sap_impact = sap_impact[
|
|||
|
||||
# Get some metrics - MAPE for local testing
|
||||
mae = mean_absolute_error(sap_impact["actual_post_sap"], sap_impact["predicted_post_sap"])
|
||||
# 1.6511627906976745
|
||||
# 1.4325581395348832
|
||||
mape = mean_absolute_percentage_error(sap_impact["actual_post_sap"], sap_impact["predicted_post_sap"])
|
||||
# 0.02493675525723527
|
||||
# 0.02260368763204902
|
||||
mape_impact = mean_absolute_percentage_error(sap_impact["actual_impact"], sap_impact["predicted_impact"])
|
||||
# 0.34215659663334086
|
||||
# 0.38072532764393224
|
||||
|
||||
save_dataframe_to_s3_parquet(
|
||||
recommendations_scoring_data,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue