Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Bayesian Filters: An unwanted and unsolicited email is commonly referred to as spam. By contrast, an email that's not spam is sometimes referred to as
Bayesian Filters: An unwanted and unsolicited email is commonly referred to as spam. By contrast, an email that's not spam is sometimes referred to as ham. Email providers try their best to identify and filter out spam emails. One way of doing this is to use a Bayesian filter. By collecting vast amounts of emails identified as either ham or spam, an email provider can create a list of words that commonly show up only in spam. A Bavesian filter is called unbiased if it assumes that any incoming email is equally likely to be ham or spam.
Suppose a particular provider puts together a list of words for which their collected data says the following:
of spam emails contain at least words from the list, and
ham
filter
of ham emails do not contain at least words from the list. unbiased
The provider intends to use this spamlikely word list as the basis for an unbiased Bayesian filter. If an incoming email does contain at least words from the list, what is the probability that the email is spam?
spam at least words:
Exploration: Suppose the email provider uses Bayes' Theorem as you just did above and they decide the resulting spam at least words is not a high enough probability. They're worried about their Bayesian filter accidentally putting important ham emails into the spam folder. So they design a second Bayesian filter. This time they notice that, in their collected data:
of spam emails contain a typo in a name, and
of ham emails do not contain a typo in a name.
The provider intends to use this information to create a second Bayesian filter, but this one is not unbiased. This filter will only be used on an email that has gone through the previous filter and been found to contain at least words from the spamlikely word list. If an email gets caught in both filters ie it has at least spamlikely words and it has a typo in a name then what is the probability that the email is spam?
Does it matter which filter is applied first?
spam at least words and a typo in a name:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started