📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

A spam filter marks 98% of spam as spam and 2% of genuine mail as spam. If 40% of mail is spam, what is the probability that a marked mail is really spam?

A. 98%
B. 97% ✅
C. 40%
D. 60%

Correct Answer: B. 97%

Explanation

Marked spam from real spam is 0.40 x 0.98 = 0.392 and from genuine mail is 0.60 x 0.02 = 0.012, so 0.392/(0.392+0.012) is about 97%.