def METHOD_NAME(x, y):
    numerator = np.max(np.abs(x - y), axis=1) - np.min(np.abs(x - y), axis=1)
    denominator = np.max(np.abs(x - y), axis=1) + np.min(np.abs(x - y), axis=1)
    valid = np.where(denominator != 0)  # To prevent division by 0
    return np.divide(numerator[valid], denominator[valid])