22-120 points Consider the following training set, in which each example has two tertiary attributes o. I. or 2) and one
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
22-120 points Consider the following training set, in which each example has two tertiary attributes o. I. or 2) and one
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 ?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!