What is the bias-variance tradeoff?
easyAnswer
- Bias is error from wrong assumptions (underfitting).
- Variance is error from sensitivity to training data (overfitting).
- Total generalization error decomposes as where is the irreducible noise.
- You reduce bias with more complex models or better features, and reduce variance with more data, regularization, or ensembling.
- The tradeoff means you can rarely minimize both at once.
Check yourself — multiple choice
- High bias means the model overfits the training data
- High variance means the model is too simple
- High bias means the model underfits; high variance means it overfits
- Bias and variance are the same thing measured differently
High (too simple). High (too sensitive to the training set).
#fundamentals#evaluation
Practise Supervised Learning
215 interview questions in this topic.
Related questions
- How do you detect and fix overfitting?
- What is k-fold cross-validation and when do you use stratified or grouped folds?
- Parametric vs non-parametric models — what's the difference?
- Why do we prefer simpler models when performance is equal?
- What does the no free lunch theorem say for ML?
- What are the roles of the training, validation and test sets?