What is bias in machine learning?

Updated May 15, 2026

Short answer

Bias is the error introduced by approximating a real-world problem with a simplified model, leading to systematic prediction errors.

Deep explanation

Bias represents how far the model’s predictions are from the true underlying function. High bias typically occurs when a model is too simple to capture patterns in data, such as linear models applied to nonlinear problems. It reflects assumptions built into the learning algorithm that restrict flexibility. In bias-variance tradeoff, increasing model complexity reduces bias but may increase variance.

Real-world example

Using a straight line to model housing prices that actually depend on multiple nonlinear factors.

Common mistakes

  • Confusing bias with unfairness or dataset bias only.

Follow-up questions

  • Is bias always bad?
  • Can bias be reduced to zero?

More Bias & Variance interview questions

View all →