This or equivalently
It represents the variation around a mean squared.
In MAT3172
The meaning is the same, but we have a parti pris for the definition and we do not use Probability Density Functions since we acknowledge they might not exist; plus we do more rigorous math so we work on Probability Spaces instead.
Therefore we need to change the way we compute our variance and the formula is impacted by the similar change in Expected Value#In MAT3172:
Observe that if , then by how this result is derived and by the fact is non-negative and non-decreasing, we have to conclude that:
This is often said, equals almost surely.
In Machine Learning
In this context there are two important and non-overlapping type of variance that is iften understood as the irreducible error . This represents the part of the variance around the mean that cannot be accounted due to intrinsic variability in the response itself.
On the other hand there is the which is the variance of the predictor model itself which might sound weird as predictors being functions will always output the same value given the same and should be , no? Yes, but not quite. In this context, this variance represents how much the fitof the model would have changed given a DIFFERENT TRAINING SET and is a direct counterpart to the Bias, as a a general rule, models that are more complex/flexible have a lower Bias as they basically make no errors due to the rigidity of the model and the assumptions they make, but they have high variance since they capture the data so well that logically given new data they will have to adapt.
This is the opposite for high bias methods which are highly rigid, they make and project their assumptions unto the data whether it fits the dataset or not. Which means that assuming that all the datasets are sampled from the same population, the fit of the model would be roughly the same leading to a lower variance.