Question

Problem 5. (12 points) Bayes Theorem is a popular tool for spam filtering. You are asked to design a spam filtering algorithm based on whether certain words appear in an email. You were given 1,000 randomly selected emails that entered an email server. You examined these emails and manually labeled each one either as spam or ham (i.e., non-spam). You found that 400 emails are spam and 600 are ham. In these 400 spam emails, you found 200 of them include the word password; in the 600 ham emails, you found 30 include the word password. Now use the Bayes Theorem to answer the following two questions (1) If theres a new email entering the server and it includes the word password, what is the probability that it is a spam? (2) If theres a new email entering the server and it does NOT include the word password, what is the probability that it is a spam?
0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Problem 5. (12 points) Bayes' Theorem is a popular tool for spam filtering. You are asked...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Problem 5. (12 points) Bayes' Theorem is a popular tool for spam filtering. You are asked...

    Problem 5. (12 points) Bayes' Theorem is a popular tool for spam filtering. You are asked to design a spam filtering algorithm based on whether certain words appear in an email. You were given 1,000 randomly selected emails that entered an email server. You examined these emails and manually labeled each one either as spam or ham (i.e., non-spam). You found that 400 emails are spam and 600 are ham. In these 400 spam emails, you found 200 of thenm...

  • Problem 1 (Bayes theorem and spam filters) Suppose you have develop a new algorithm to detect...

    Problem 1 (Bayes theorem and spam filters) Suppose you have develop a new algorithm to detect spam in an incoming email message. if the email is spam, there is a 98% chance your algorithm will detect it. On the other hand, if no spam is present, there is a 90% chance the algorithm will indicate that the message is not spam. Suppose that roughly 10% of all your email is spam. a) What is the probability a randomly chosen message...

  • How can we assess whether a project is a success or a failure? This case presents...

    How can we assess whether a project is a success or a failure? This case presents two phases of a large business transformation project involving the implementation of an ERP system with the aim of creating an integrated company. The case illustrates some of the challenges associated with integration. It also presents the obstacles facing companies that undertake projects involving large information technology projects. Bombardier and Its Environment Joseph-Armand Bombardier was 15 years old when he built his first snowmobile...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT