From statistical decision theory we know that if we want to minimize EPE (Expected prediction error) it is sufficient to minimize the conditional expectation of the loss function.
$f(x) = argmin_{c} E_{Y \vert X}(L(Y, c) \vert X = x)$
For square loss $L(Y,c) = (Y-c)^2$ the solution is the conditional expectation $c=E(Y \vert X=x)$.
What is an example of a loss function that is not minimized by the conditional expectation? What is it minimized by? It would be great if the example were a loss function that is actually used to some extent and not totally contrived, but everything is welcome.
I think the property of a loss function being minimized by the conditional expectation is known as being p-admissible.