def relerr(expected, actual):
    return abs((actual - expected)/expected)
Relative error between `expected` and `actual`: ``abs((a - e)/e)``.
dataset/ETHPy150Open probcomp/bayeslite/src/math_util.py/relerr