def METHOD_NAME(target: np.ndarray, forecast: np.ndarray) -> float:
    r"""
    .. math::
        mape = mean(|Y - \hat{Y}| / |Y|))
    See [HA21]_ for more details.
    """
    return np.mean(np.abs(target - forecast) / np.abs(target))