Cheat Sheet Test Lab
Cheat Sheet Test Lab
𝑝1 = 7Τ13 𝑝1 = 13Τ13 = 1
𝑝2 = 6Τ13 𝑝2 = 0Τ13 = 0
2
Numeric Errors: Formulas
Error Metric Formula Notes
𝑛
Mean signed difference 1 Only informative about the direction of
𝑦𝑖 − 𝑓 𝑥𝑖 the error
𝑛
𝑖=1
𝑛
Mean absolute percentage error (MAPE) 1 |𝑦𝑖 − 𝑓(𝑥𝑖 )| Requires non-zero target column
values
𝑛 |𝑦𝑖 |
𝑖=1 3