Back to questions

Precision and recall for a spam classifier

There are 1000 emails, 100 are truly spam. A model predicts 120 emails as spam, and 90 of those predicted spam emails are truly spam. Compute precision and recall.

Answer as you would in an interview

Answer aloud or write down a few key points. The text field is optional; the review opens after your attempt.

Loading
Precision and recall for a spam classifier — interview question — ML Mentor