Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Consider the following training set, which contains 3 binary attributes X, X, andX3. There are 50 examples in the training set, with equal

2. Consider the following training set, which contains 3 binary attributes X, X, andX3. There are 50 examples

2. Consider the following training set, which contains 3 binary attributes X, X, andX3. There are 50 examples in the training set, with equal number of positive and negative examples. X 1 1 0 0 0 X2 X3 1 0 0 1 0 1 1 1 1 0 Number of positive training examples 5 10 5 0 5 Number of negative training examples 0 10 5 10 0 (a) Compute the class conditional probabilities P(X = 1]+), P(X = 1|), P(X = 1|+), P(X = 1|-), P(X3 = 1|+), and P(X3 = 1|-) (b) Use the class conditional probabilities given in the previous question to predict the class label of each example with the feature set given in the training set above. Use your results to compute the training error rate of the nave Bayes classifier.

Step by Step Solution

3.45 Rating (161 Votes )

There are 3 Steps involved in it

Step: 1

To compute the class conditional probabilities well start with part a Given there are an equal number of positive and negative examples and the total ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Precalculus Concepts Through Functions A Unit Circle Approach To Trigonometry

Authors: Michael Sullivan

5th Edition

0137945139, 9780137945139

More Books

Students also viewed these Programming questions

Question

gpt 6 9 .

Answered: 1 week ago

Question

Draw a Feynman diagram for the reaction n + v p + .

Answered: 1 week ago