a Question 2 (20 marks) 22 observations in the table below are used to train a Naïve Bayes model: Obs 1 2 3 4 5 6 7 8 9

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

a Question 2 (20 marks) 22 observations in the table below are used to train a Naïve Bayes model: Obs 1 2 3 4 5 6 7 8 9

Post by answerhappygod »

A Question 2 20 Marks 22 Observations In The Table Below Are Used To Train A Naive Bayes Model Obs 1 2 3 4 5 6 7 8 9 1
A Question 2 20 Marks 22 Observations In The Table Below Are Used To Train A Naive Bayes Model Obs 1 2 3 4 5 6 7 8 9 1 (49.8 KiB) Viewed 21 times
a Question 2 (20 marks) 22 observations in the table below are used to train a Naïve Bayes model: Obs 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 X1 AA AAABBB BBC C C C C D D D D D C B X2 SMMSS S M MLL L M MLL S MLS ML L Y 0 0 1 1 0 0 0 1 1 1 1 1 1 1 0 0 1 1 1 0 0 0 (a) By applying Laplace Smoothing with Laplace-k estimate k=2, calculate the following: (Show your answers as fractions, NOT decimals) (15 marks) P(Y=1) = ? P(Y=0) = ? P(X1=A Y=1) = ? P(X1=BY=1)= ? P(X1=C|Y=1) = ? P(X1=D Y=1) = ? P(X1=A Y=0) = ? P(X1=B Y=0) = ? P(X1=C|Y=0) = ? P(X1=D Y=0) = ? P(X2=SİY=1) = ? P(X2=MY=1) = ? P(X2=LİY=1) = ? P(X2=S/Y=0) = ? P(X2=MY=0) = ? P(X2=LİY=0) = ? (6) Does the new observation X(C, S) having Xl=A and X2=S belong to class Y=0 or Y=1? You must show your working steps in answering this question. (Show your answers as fractions, NOT decimals) (2.5 marks) (c) Does the new observation X(B, M) having X1=B and X2=M belong to class Y=0 or Y=1? You must show your working steps in answering this question. (Show your answers as fractions, NOT decimals) (2.5 marks)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply