Supervised Learning Flashcards
Example Scenario: Email Spam Detection
Consider an email service provider implementing a spam detection system. The goal is to
emails as either “spam” or “not spam” (also known as “ham”).
Precision:
Precision measures the proportion of corectly identified spam emails out of all emails
by the model.
Formula: Precision = True Positives / (True Positives + False Positives)
True Positives (TP): The number of emails correctly classified as spam.
False Positives (FP): The number of non-spam emails incorrectly classified as
Precision Example: Let’s say the spam detection system flagged 100 emails as Sp
inspection
90 of them were actually spam (True Positives)
Precision = 90 /(90 + 10) = 90%
So
in this scenario
flagged as spam
90% of them were actually spam
Recall: