InterviewStack.io LogoInterviewStack.io

Model Selection, Tuning, and Generalization Questions

Choosing and tuning models so they generalize to unseen data rather than memorizing the training set. Covers the bias-variance tradeoff and its decomposition, diagnosing over- and under-fitting from learning curves, and regularization techniques such as L1/L2 penalties, dropout, and early stopping, alongside cross-validation strategies and grid, random, and Bayesian hyperparameter search. Emphasizes a principled, reproducible process for selecting model complexity and tuning against a real compute-versus-accuracy budget rather than ad-hoc trial and error.

EasyTechnical
67 practiced

Define overfitting and underfitting in practical modeling terms. Describe at least three observable symptoms of each you'd look for during model development (beyond just 'the numbers are bad'), and how model capacity relates to which one you're likely facing.

MediumBehavioral
87 practiced

Behavioral: as a senior data scientist, describe a time you had to convince product and engineering to REDUCE the number of tuning experiments being run, not increase them. What was the argument, and how did you make the trade-off concrete?

HardTechnical
93 practiced

Explain multi-fidelity hyperparameter optimization: how Hyperband/ASHA (Successive Halving with brackets) and BOHB (Bayesian optimization plus Hyperband) allocate resources across rungs, and the trade-off between speed and the risk of prematurely discarding a configuration that would have turned out promising.

MediumTechnical
81 practiced

You can either increase training data by 3x or increase model capacity (more layers/trees), but not both, to close a validation gap you're seeing. How do you decide which lever to pull, and what evidence would change your answer?

MediumTechnical
86 practiced

A new candidate model improves your cross-validated accuracy by 0.8%, but increases prediction variance across user segments (it does noticeably better on some segments and worse on others). Would you ship it? What additional evidence would change your answer?

Unlock Full Question Bank

Get access to all Model Selection, Tuning, and Generalization interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.