def median_absolute_error(y_true, y_pred):
    y_type, y_true, y_pred, _ = _check_reg_targets(y_true, y_pred,
                                                   'uniform_average')
    if y_type == 'continuous-multioutput':
        raise ValueError("Multioutput not supported in median_absolute_error")
    return np.median(np.abs(y_pred - y_true))
Test finding supported wheel.
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/metrics/regression.py/median_absolute_error--crossover with--dataset/ETHPy150Open pypa/pip/tests/unit/test_finder.py/TestWheel.test_find_wheel_supported