Question: Consider the dataset shown in Table 5. Instance A B Class 1 0 0 1 2 1 0 1 + 3 0 1 0

Consider the dataset shown in Table 5. Instance A B Class 1

Consider the dataset shown in Table 5. Instance A B Class 1 0 0 1 2 1 0 1 + 3 0 1 0 4 1 0 0 5 1 0 1 + 6 0 0 1 + 7 1 1 0 8 0 0 0 9 0 1 0 + 10 1 1 1 + Table 5 a. [3 points] Estimate the conditional probabilities for P(A = 1|+), P(B = 1|+), P(C = 1|+), P(A = 1|-), P(B = 1|-), and P(C = 1|-). b. [2 points] Use the conditional probabilities in part (a) to predict the class label for a test sample (A = 1, B = 1, C = 1) using the nave Bayes approach. c. [2 points] Let us consider the data instance (A=1, B=1, C=1). Using the Nave Bayes approach, compute the probability of this instance belonging to Class = + using i. no attributes (i.e. calculate prior probability) ii. attribute A [P(Class = +|A=1)] iii. attributes A and B [P(Class = +|A=1, B=1)] iv. attributes A, B and C [ P(Class = +|A=1, B=1, C=1)] Comment on the change in probability values as we proceed from (i) to (iv).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Mathematics Questions!