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

1 Expert Approved Answer
Step: 1 Unlock

Step... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Engineering Questions!