Question
Q: Given Email B with its feature vector. Compute the probability of email B being spam and ham using Nave bayes algorithm and then finally
Q: Given Email B with its feature vector. Compute the probability of email B being “spam” and “ham” using Naïve bayes algorithm and then finally assign class label (spam or ham).
P(spam) = 0.65
Email B = < 0, 1, 1, 1 >, = < count(meeting), count(enron), count(dating), count(hi) >
P (meeting | spam) = 0.6, P (meeting | ham) = 0.02
P (enron | spam) = 0.4, P (enron | ham) = 0.001
P (dating | spam) = 0.7, P (dating | ham) = 0.005
P (hi | spam) = 0.3, P (hi | ham) = 0.09
Step by Step Solution
3.33 Rating (147 Votes )
There are 3 Steps involved in it
Step: 1
Step...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 StartedRecommended Textbook for
Essentials of Econometrics
Authors: Damodar Gujarati, Dawn Porter
4th edition
73375845, 978-0071276078, 71276076, 978-0073375847
Students also viewed these Computer Engineering questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App