I am trying to show that the Bayes predictor for linear regression with square loss is:
$$h^{\star}(x) = \mathbb{E}[Y|X = x]$$
I found the following slide from here, but don't understand which properties were used to derive the conclusion:
My question is: which properties were to reach the Bayes predictor $h^{\star}(x)$?