2) Suppose a Bayesian spam filter is trained on a set of 100,000 spam emails and 4,000 emails that are not spam. The word "money" appears in 2,500 spam emails and 200 nonspam emails, the word "urgent" appears in 8,000 spam emails and 800 nonspam emails, the word "attention" appears in 20,000 spam emails and 80 nonspam emails, and the word "account" appears in 10,000 spam emails and 100 nonspam emails. Estimate the probability that a received email containing all four words of "money", "urgent", "attention", and "account" is spam. Will the email be rejected as spam if the threshold for rejecting spam is set at 80%?

Question
Solve this now in 20 min and take a thumb up plz
2)
Suppose a Bayesian spam filter is trained on a set of 100,000 spam emails and 4,000 emails that are not
spam. The word "money" appears in 2,500 spam emails and 200 nonspam emails, the word "urgent"
appears in 8,000 spam emails and 800 nonspam emails, the word "attention" appears in 20,000 spam
emails and 80 nonspam emails, and the word "account" appears in 10,000 spam emails and 100 nonspam
emails. Estimate the probability that a received email containing all four words of "money", "urgent",
"attention", and "account" is spam. Will the email be rejected as spam if the threshold for rejecting spam
is set at 80%?
Transcribed Image Text:2) Suppose a Bayesian spam filter is trained on a set of 100,000 spam emails and 4,000 emails that are not spam. The word "money" appears in 2,500 spam emails and 200 nonspam emails, the word "urgent" appears in 8,000 spam emails and 800 nonspam emails, the word "attention" appears in 20,000 spam emails and 80 nonspam emails, and the word "account" appears in 10,000 spam emails and 100 nonspam emails. Estimate the probability that a received email containing all four words of "money", "urgent", "attention", and "account" is spam. Will the email be rejected as spam if the threshold for rejecting spam is set at 80%?
Expert Solution
steps

Step by step

Solved in 3 steps with 7 images

Blurred answer