InterviewStack.io LogoInterviewStack.io

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.

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.

HardTechnical
75 practiced

You are fusing predictions from heterogeneous models (for example a tree-based model and a neural network) used together for a downstream decision. Describe approaches to calibrate and combine their outputs (stacking versus Bayesian model averaging), how uncertainty propagates through the fusion, and how you would validate that the fused output actually improves decisions under covariate shift.

HardSystem Design
86 practiced

Design a comprehensive evaluation framework for a large-scale search or recommendation product serving tens of millions of users monthly. Cover offline metrics (NDCG@k, recall@k, MAP), how you would correct for position and exposure bias, the online metrics you would track (CTR, revenue, retention), the logging schema needed for counterfactual evaluation, and how offline evaluation, online A/B tests, and champion-challenger deployment fit together.

HardTechnical
75 practiced

A stacking ensemble improved validation AUC in development but fails in production. Explain the leakage risk that stacking specifically introduces, and describe the correct cross-validation-based procedure (generating out-of-fold predictions for the meta-learner) that avoids target leakage.

MediumTechnical
73 practiced

Recommend an evaluation suite for a text-summarization product: which automatic metrics you would use (token overlap, BLEU, ROUGE, BERTScore, perplexity) and why, plus a human-evaluation protocol covering sample selection, an annotation rubric, and how you would reconcile automatic-metric results with human judgments when they disagree.

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.