Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
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 Started