Model Evaluation and Validation Questions

Measuring whether a model is good enough to trust and ship. Covers metric selection for classification, regression, and ranking (precision/recall, ROC-AUC, calibration, RMSE), offline validation design, evaluation-metric-to-business-objective alignment, and production safety guardrails. Emphasizes choosing metrics that reflect real objectives and avoiding misleading evaluations.

HardTechnical
74 practiced

For an open-ended conversational model, design a statistically valid human-evaluation experiment to compare two variants. Specify how you would estimate the needed sample size via power analysis, how you would select and train annotators, write a clear rubric, randomize and blind the comparison, collect an inter-annotator agreement metric, and aggregate the results to report statistical significance.

MediumTechnical
88 practiced

Explain uplift (heterogeneous treatment effect) modeling and the metrics used to evaluate it, such as the Qini coefficient and uplift@k. Describe a business use case, for example a marketing campaign, where uplift modeling is clearly preferable to simply predicting conversion probability directly, and how you would run an experiment to validate that targeting by uplift actually increases ROI.

MediumTechnical
64 practiced

You have a feature such as 'days since last purchase' or a cancellation timestamp that is derived from event history. Explain how leakage can creep in when this kind of timestamp-derived feature is computed incorrectly for validation data, using this as a concrete example, and propose the safeguards and unit tests you would add to prevent it.

MediumTechnical
74 practiced

You are comparing two models on the same holdout set (for example by AUC). What statistical tests would you run to determine whether the difference is significant: paired bootstrap, DeLong's test, McNemar's test, or a permutation test? Discuss the assumptions behind each, when a non-parametric test is preferable, and how you would handle multiple comparisons if you are checking several metrics at once.

EasyTechnical
82 practiced

Define overfitting and underfitting, and explain how learning curves (training versus validation performance as a function of training-set size) let you tell them apart. Given a curve where training error stays low while validation error stays high and roughly flat, what's going on and what would you change? Then describe how the curves would look instead if the model were underfitting, and what you would do in that case.

Unlock Full Question Bank

Get access to all Model Evaluation and Validation interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.