Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Choose AUC-ROC or F1

MediumModel Evaluation00:00
Practice interviewer
In session
5 left
00:00

Your question is Choose AUC-ROC or F1. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Scenario

You own a binary classifier that prioritizes suspicious account sign-ins for manual review in Microsoft Defender. The current logistic regression model and a new LightGBM challenger are both evaluated offline before deployment, and accounts scoring above a 0.40 threshold are sent to analysts. Security leadership notices the challenger has a slightly higher AUC-ROC, but the operations team prefers the current model because it produces better precision and F1 at the chosen threshold. You need to explain what each metric is actually measuring and which one should guide model selection for this use case.

Performance Data

MetricCurrent ModelChallenger Model
AUC-ROC0.910.94
Precision @ 0.400.740.61
Recall @ 0.400.680.79
F1 Score @ 0.400.710.69
False Positive Rate @ 0.400.0320.071
Daily alerts sent to analysts4,3007,100
Analyst review capacity/day5,0005,000
Positive class prevalence2.8%2.8%

Question

How would you explain the difference between AUC-ROC and F1-score using these results, and when would you prefer one over the other for selecting or tuning this model?