Skip to main content

Bias and Variance

Bias/Variance

Bias

  • Bias is the difference between a model's estimated values and the “true” values for a variable.
  • Bias can be thought of as errors caused by incorrect assumptions in the learning algorithm.
  • Bias can also be introduced through the training data, if the training data is not representative of the population it was drawn from.

Model with high bias pays very little attention to the training data and oversimplifies the model. It always produces high error on training and test data. In addition, it can lead to underfitting (the model fits the data poorly).

Variance

Variance can be described as the error caused by sensitivity to small variances in the training data set.

Model with high variance pays a lot of attention to training data (even "noise") so does not generalize well on the unseen data. This is associated with overfitting.

Bias-Variance Tradeoff

tradeoff

Decreasing bias will increase variance, and decreasing variance will increase bias.

The goal is to use an iterative process to find the balance between the two that minimize the overall error.

References