InterviewStack.io LogoInterviewStack.io

Bias Variance Tradeoff and Model Selection Questions

Covers the fundamental bias and variance decomposition in supervised learning, including how model bias leads to underfitting and model variance leads to overfitting. Candidates should understand how model capacity and complexity, training data size, and noise influence bias and variance, and how these factors affect generalization error. Assessment includes diagnosing high bias versus high variance from training and validation metrics and learning curves, and applying appropriate remedies such as increasing model complexity or features for high bias, and applying regularization, early stopping, dropout, ensembling, or collecting more data for high variance. Includes knowledge of model selection and hyperparameter tuning techniques such as cross validation and validation curves, practical tradeoffs when choosing models, and how to interpret diagnostic plots and metrics to make decisions that improve real world performance.

EasyTechnical
121 practiced
You have the following three learning curve shapes during experiments: A) both training and validation error are high and similar as model capacity grows, B) training error low and validation error high with a large gap, C) training error decreases with data and validation error decreases and meets training. For each pattern explain whether it indicates high bias or high variance and recommend next experiments to perform.
HardTechnical
73 practiced
Propose a method to quantify how much of a model's generalization error comes from bias vs variance vs irreducible noise in a regression setting where you have multiple independent training subsets available (e.g., from different dates or shards). Outline computational steps and assumptions clearly.
MediumTechnical
93 practiced
You have an imbalanced dataset and observe that increasing model capacity reduces training error but increases variance on minority class. Propose a combined approach using feature engineering, loss modification, and selection of model complexity to achieve better minority class performance while controlling overall variance.
HardTechnical
84 practiced
Provide a lightweight algorithm and practical steps to detect whether a reported improvement on a validation set is due to random noise from multiple experiments (the multiple comparisons problem). Include computational steps that an ML engineer can run daily on experiment logs to flag suspicious improvements.
MediumTechnical
67 practiced
Explain model calibration in classification. How can poor calibration affect decisions in production systems? Describe practical calibration methods (Platt scaling, isotonic regression, temperature scaling) and how you would evaluate and deploy a calibration step safely in a production pipeline.

Unlock Full Question Bank

Get access to hundreds of Bias Variance Tradeoff and Model Selection interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.