Loading...

Best Accuracy to Training Time Ratio

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

Domain
SQL
Difficulty
medium
Seniority
mid

Problem

The ML team is looking for models that punch above their weight: high accuracy relative to how recently they were trained, using the training timestamp's epoch value as the denominator. Which single model has the highest accuracy-to-training-time ratio? Exclude models with no accuracy score and show the model name, accuracy, training timestamp, and the ratio.

Practice This Problem

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