The is a result of assuming the noise component is Gaussian distributed (see [10, p196]
for details). This is the weighted average squared error for every possible x weighted by
its probability of occurrence, taking into account every possible noise value d weighted by
its probability of occurrence given the x value. We now define the following conditional
averages of the target variable: