DataDriven
LearnPracticeInterviewDiscussDailyJobs

90th Pctl Model Accuracy Gap

A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
medium
Seniority
L4

Problem

The ML platform team is auditing model quality for the first half of 2026. They set a target accuracy of 0.95 and want to identify outlier models whose accuracy deviates most from that target. Compute the absolute gap between each model's accuracy and 0.95, then surface only the models in the 90th percentile of that gap. Return the model name, its accuracy, and the gap as a decimal value.

Summary

Most models are fine. The bottom 10% are not.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.

Related

  • All Practice Problems
  • Mock Interview Mode
  • SQL Interview Questions
  • Data Engineering Interview Prep Guide
  • Daily Challenge
  • Data Engineering Lessons