Page 1 of 1

22-120 points Consider the following training set, in which each example has two tertiary attributes o. I. or 2) and one

Posted: Sat May 14, 2022 6:42 pm
by answerhappygod
22 120 Points Consider The Following Training Set In Which Each Example Has Two Tertiary Attributes O I Or 2 And One 1
22 120 Points Consider The Following Training Set In Which Each Example Has Two Tertiary Attributes O I Or 2 And One 1 (62.49 KiB) Viewed 68 times
22-120 points Consider the following training set, in which each example has two tertiary attributes o. I. or 2) and one of two possible classes (X or Y), Example 2 AL O 2 1 3 3 5 A2 1 1 1 2 2 o Class X X X X Y Y 1 2 (a) What would the Naive Bayes algorithm (with no smoothing) predict for the class of the following new example? Example 7 A2 A1 2 Class ? 2 (b) Apply Laplace smoothing (with K=1) to all the probabilities from the training set. What would the Naïve Bayes algorithm predict for the class of the following new example? A1 Example 8 A2 0 o Class ?