For example, I was able to find that, using functionals, the squared mean error argmin is $[y]$:
$f^* = argmin_f E_{x,y \sim p*(x,y)}(y-f(x))^2$
gives us after deriving with respect to f:
$\int_y(-2y + 2f(x))p(y|x) = 0$, and thus:
$2E[Y] - 2f(x)*1 = 0$, which leads to $f^*(x) = E[Y]$.
However, I can't use the same logic to find the functional for:
$f^* = argmin_f E_{x,y \sim p*(x,y)}|y-f(x)|$
I know it's not differentiable at its minima, but is there any way to use functionals to motivate the minima as the median?
Thanks.