What does median absolute error leave out?

Median absolute error takes the middle of the absolute deviations, reducing the influence of a few extreme misses.

median_absolute_error in practice

For misses of 1, 1, 2, 3 and 80 seconds, the median is two seconds. Report tail latency as well when the longest delay causes a timeout.

中文

中位绝对误差会隐藏什么?

中位绝对误差是各样本绝对误差的中位数,少数极端误差对它影响较小。

median_absolute_error 应用实例

五次误差为 1、1、2、3、80 秒,中位数是 2 秒。若最长延迟会触发超时,还应单报尾部延迟。

References / 参考来源

Keep reading / 继续阅读