Define precision, recall and F1, and say when each matters
EasyConcept8 minRERS
The question
Give me short definitions of precision and recall. Then tell me when you would care more about one than the other, and what F1 does.
A classifier flags 100 emails as spam; 80 are really spam, and there were 200 spam emails in total. What are precision and recall?
What the interviewer is looking for
- Correct formulas: precision = TP / (TP + FP), recall = TP / (TP + FN)
- The worked numbers done quickly: precision 0.8, recall 0.4
- A concrete case for each: costly false alarms favour precision, costly misses favour recall
- F1 as the harmonic mean and why it punishes imbalance between the two
- Awareness that both depend on the decision threshold
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported Google DeepMind question type: short textbook definitions: precision and recall, optimizers, loss functions.
Reported in: glassdoor.co.in
Practice question written by BlogLLM based on publicly reported interview formats. Not an official Google DeepMind question.