Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essentials of Econometrics

Authors: Damodar Gujarati, Dawn Porter

4th edition

73375845, 978-0071276078, 71276076, 978-0073375847

More Books

Students also viewed these Computer Engineering questions

Question

Define self, self-image, and identity.

Answered: 1 week ago

Question

What is meant by indirect least squares? When is it used?

Answered: 1 week ago