Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

. In this problem, you are going to develop a Nave Bayes classifier. You will work with two classes, {Passed, Failed}, and each of your

image text in transcribed

. In this problem, you are going to develop a Nave Bayes classifier. You will work with two classes, {Passed, Failed}, and each of your data points (x) has three features: {f1, f2, f3}. All of these features are binary valued: f1: {high, low} f2: {absent, present} f3: {positive, negative} The following data set is given to you: Passed:{(high, absent, positive ), (low, present, positive), (high, present, negative)} Failed: {(low, present, negative), (low, absent, positive), (high, absent, negative)} A) Compute the following probabilities (apply the Laplace Smoothing with a = BT = a = p = 2): the class prior probability the class conditional probability for each feature B) Now, classify a new example (high, present, positive) based on the classifier that you developed in previous steps . = . . In this problem, you are going to develop a Nave Bayes classifier. You will work with two classes, {Passed, Failed}, and each of your data points (x) has three features: {f1, f2, f3}. All of these features are binary valued: f1: {high, low} f2: {absent, present} f3: {positive, negative} The following data set is given to you: Passed:{(high, absent, positive ), (low, present, positive), (high, present, negative)} Failed: {(low, present, negative), (low, absent, positive), (high, absent, negative)} A) Compute the following probabilities (apply the Laplace Smoothing with a = BT = a = p = 2): the class prior probability the class conditional probability for each feature B) Now, classify a new example (high, present, positive) based on the classifier that you developed in previous steps . =

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Database Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

More Books

Students also viewed these Databases questions

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago