1 of 7

Bias and Variance

Dr. Dinesh K Vishwakarma

PROFESSOR, DEPARTMENT OF INFORMATION TECHNOLOGY

DELHI TECHNOLOGICAL UNIVERSITY, DELHI.

Webpage: http://www.dtu.ac.in/Web/Departments/InformationTechnology/faculty/dkvishwakarma.php

Email: dinesh@dtu.ac.in

2 of 7

What is Bias?

    • Bias is the difference between the average prediction of our model and the correct value which we are trying to predict.
    • Model with high bias pays very little attention to the training data and oversimplifies the model. It always leads to high error on training and test data.

Dinesh K. Vishwakarma, Ph.D.

2

4/29/26

3 of 7

What is variance?

    • Variance is the variability of model prediction for a given data point or a value which tells us spread of our data.
    • Model with high variance pays a lot of attention to training data and does not generalize on the data which it hasn’t seen before. As a result, such models perform very well on training data but has high error rates on test data.

Dinesh K. Vishwakarma, Ph.D.

3

4/29/26

4 of 7

Fundamentals of Bias and Varience

  •  

Dinesh K. Vishwakarma, Ph.D.

4

4/29/26

5 of 7

Bias and variance using bulls-eye diagram

Dinesh K. Vishwakarma, Ph.D.

5

4/29/26

6 of 7

Overfitting

Dinesh K. Vishwakarma, Ph.D.

6

4/29/26

Why is Bias Variance Tradeoff?

  • If our model is too simple and has very few parameters then it may have high bias and low variance.
  • If our model has large number of parameters then it’s going to have high variance and low bias. So we need to find the right/good balance without overfitting and underfitting the data.
  • This tradeoff in complexity is why there is a tradeoff between bias and variance. An algorithm can’t be more complex and less complex at the same time.

7 of 7

References

Dinesh K. Vishwakarma, Ph.D.

7

4/29/26