My goal is to prove the following statement;
$Y \in \{-1,1\}$ and $p(x) = P(Y=1|X=x)$. Let $z_+ = zI(z \ge 0)$. Then, show that the minimizer $\hat f$ of $E[(1-Yf(X))_+|X=x]$ satisfies $\text{sign}(\hat f) = \text{sign}(p(x) - 1/2)$ .
Let $f = f(x)$ and $p = p(x)$ for simplicity.
I tried to divide into 4 cases.
In the first case $1-f \ge 0$ and $ 1+f \ge 0$, $$E[(1-Yf)_+] = (1-f)p + (1+f)(1-p) = 1+(1-2p)f$$ When $1-2p \le 0$, I claimed that $f=1$ minimizes the expectation, and when $1-2p \ge 0$, $f = -1$ minimizes it.
(I'm not sure whether this approach is correct; it seems $f$ is regarded as constant, which is not guaranteed...)
Also, the second case $1-f \ge 0$ and $ 1+f \le 0$ shows $$E[(1-Yf)_+] = (1-f)p.$$ Based on my above approach, the expectation would be minimized when $f = -1$ regardless of the sign of $(p-1/2)$.
This seems strange, so I'm stuck on here...
In particular, I'm not sure how to use $z_+$ properly in this case.
Any help with respect to my problem would be appreciated. Thank you.
editted cont'd to the answer
I assumed you intended to show that when $f \ge 1$, $y = \text{sign}(f)$ leads to $1-Yf = 1-f \le 0$ and thus $(1-Yf)_+ = 0$, and $y=-\text{sign}(f)$ leads to $1-Yf \ge 2$.
Now, everything is clear, except for the wlog ones; $f \in [-1,1]$. How does the above fact make $f \in [-1,1]$ sense? I mean, what about the cases where $|f| = \infty$?