spam_email_probability

Probability of Actual Spam


Consider an email classification scenario where emails can be categorized into two classes: positive (spam) and negative (non-spam). Among all received emails, 10% belong to the positive class (spam), and the remaining 90% belong to the negative class (non-spam). John's email filter, designed to identify spam, has an accuracy of 90% in correctly classifying positive instances (true positives) but incorrectly labels 10% of negative instances as positive (false positives). If an email is classified as positive by John's filter, what is the probability that it actually belongs to the positive class (spam) ?