Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given the training set (the following table) and X {youth, low, excellent}, a Nave Bayes classifier is trained based on the given training set,
Given the training set (the following table) and X {"youth", "low", "excellent"}, a Nave Bayes classifier is trained based on the given training set, please answer the following questions. Table 3: Training Data Credit rating Class: buys.computer Age senior Income low excellent no senior medium fair no middle aged medium fair yes middle aged low fair yes senior low fair no youth medium excellent yes middle aged high excellent yes youth high fair yes youth low fair yes youth medium fair no 1. (2 points) What is the probability that buys.computer = no (P(no))? 2. (2 points) What is the probability that buys.computer = yes (P(yes))? 3. (2 points) What is the probability, P(X|no)? 1. (2 points) What is the probability P(X|yes)? 5. (2 points) Which class should X belong to?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
To calculate the probabilities and determine which class X belongs to we first need to calculate som...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
Document Format ( 2 attachments)
6642f12d6b5f9_972501.pdf
180 KBs PDF File
6642f12d6b5f9_972501.docx
120 KBs Word File
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started