 Variance measures the average deviation of a random variable from its expected value. In the current setting we are comparing the predicted value \(h(X)\) of Y, with respect to some data \(\mathcal{D}\) about the relationship between X and Y, and the average value of \(h(X)\), \(\mathbb{E}\left[ h(X) \right]\), which we will write 