Sanity check me here, these are defined correctly ...
# general
m
Sanity check me here, these are defined correctly yes?
Copy code
def mape(y, y_hat):
    return np.mean(np.abs((y - y_hat) / y)) * 100

def smape(y, y_hat):
    return 100/len(y) * np.sum(2 * np.abs(y_hat - y) / (np.abs(y) + np.abs(y_hat)))