InterviewStack.io LogoInterviewStack.io

ML System Evaluation and Metrics Questions

Design comprehensive evaluation strategies including offline metrics (precision, recall, F1, AUC, calibration), online metrics (A/B test setup, statistical significance), and business metrics. Understand metric limitations and how to avoid gaming metrics.

MediumTechnical
58 practiced
Given historical logs containing model scores, user exposures, and downstream purchase amounts, design an offline evaluation method to estimate expected revenue lift from switching to a new scoring model. State required assumptions, common biases (position bias, confounding), and how you'd use an experiment to validate offline estimates.
MediumTechnical
68 practiced
You operate two models: one optimized for short-term CTR and another optimized for long-term retention. Propose an offline evaluation protocol and an experiment design to understand combined impact and trade-offs, and outline a safe deployment strategy for a combined policy.
MediumTechnical
65 practiced
Design a metric framework for a model where you must balance prediction accuracy, inference latency (milliseconds), and per-inference cloud cost. Propose composite metrics or multi-objective strategies suitable for product decisions and CI/CD gating, including how to pick weights or present Pareto frontiers to stakeholders.
MediumSystem Design
86 practiced
Design a continuous validation strategy for model releases that includes canary testing, shadow mode evaluation, progressive percentage rollouts, and automatic rollback triggers. Specify which metrics to monitor at each stage, safety guardrails, and how to ensure reproducible comparisons.
MediumTechnical
63 practiced
Given K-fold cross-validated predicted probabilities and true labels (predictions from folds are correlated), implement (or describe) a Python method to compute a confidence interval for the overall AUC that accounts for correlation between folds (stratified or aggregated bootstrap). State assumptions and complexity implications.

Unlock Full Question Bank

Get access to hundreds of ML System Evaluation and Metrics interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.