Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Nave Bayes. Compute the following for using Nave Bayes to classify the new instance . Show your work. a. Compute the prior probabilities P(FamilyCar=yes)

image text in transcribed

2. Nave Bayes. Compute the following for using Nave Bayes to classify the new instance . Show your work.

a. Compute the prior probabilities P(FamilyCar=yes) and P(FamilyCar=no).

b. Compute P(Price | FamilyCar) for all values of Price {10000, 20000, 30000} and FamilyCar {yes, no}.

c. Compute P(EnginePower | FamilyCar) for all values of EnginePower {100, 200, 300} and FamilyCar {yes, no}.

d. Compute P(Cupholders | FamilyCar) for all values of Cupholders {2, 4, 6} and FamilyCar {yes, no}.

e. Compute P(FamilyCar=yes | Price=20000, EnginePower=200, Cupholders=4).

f. Compute P(FamilyCar=no | Price=20000, EnginePower=200, Cupholders=4).

g. Which class would Nave Bayes choose for the new instance?

Price EnginePower CupholdersFamilyCar 10000 100 200 200 300 300 100 100 200 300 300 100 100 200 200 300 no 10000 10000 10000 20000 no yes yes yes yes no yes no no 20000 30000 no 30000 no

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions