Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please answer laplace smooth with explanation 15 observations in the table below are used to train a Nave Bayes model, and then a prediction is
please answer laplace smooth with explanation
15 observations in the table below are used to train a Nave Bayes model, and then a prediction is made to a new observation X(B, S) having Xl=B and X2=S. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 A A A A B B B B Obs X1 X2 Y M M S M M M S 0 B L 1 S 1 L S 0 L 1 L 1 L 1 M 1 0 1 0 0 1 1 0 (a) Does the new observation X(B, S) belong to class Y=0 or Y=1? You must show your working steps in answering this question. (b) By applying Laplace Smoothing with Laplace-k estimate k=1, calculate the following probabilities and conditional probabilities: P(Y=1), P(Y=0), P(Xl=A Y=1), P(X1=B|Y=1), P(X1=CjY=1), P(Xl=A Y=0), P(XI=B Y=0), P(XI=C|Y=0), P(X2=S|Y=1), P(X2=MY=1), P(X2=LY=1), P(X2=S/Y=0), P(X2=MY=0), P(X2=LY=0)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