Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q: Consider following dataset. You have to apply Nave Bayes classifier with complete steps to assign the class label of the given instance. Color Size

Q: Consider following dataset. You have to apply Naïve Bayes classifier with complete steps to assign the class label of the given instance.

Color
Size
Action
Age

Class label

yellow
small
stretch
adult

true

purple
small
stretch
adult

true

yellow
small
stretch
adult

true

purple
small
stretch
child

false

yellow
small
stretch
adult

false

yellow
small
dip
adult

false

purple
small
dip
child

false

yellow
small
dip
child

false

yellow
large
stretch
adult

true

yellow
large
stretch
adult

true

yellow
large
stretch
child

false

yellow
large
dip
adult

false

yellow
large
dip
child

false

purple
small
stretch
adult

true

purple
small
dip
adult

false

X = < Color = yellow, Size = small, Action = stretch, Age = child > ---- Class Label?

Hint: You have to perform steps for two class labels (True and False) using naïve bayes. These are the formulas.

P (Class Label = True | X) = P (X | Class Label = True) * P (Class Label = True)

P (Class Label = False | X) = P (X | Class Label = False) * P (Class Label = False)

Ignore the denominator part, P(X)

Step by Step Solution

3.34 Rating (160 Votes )

There are 3 Steps involved in it

Step: 1

The posterios probability can be calculated by first construc... 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

Introduction to Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st edition

321321367, 978-0321321367

More Books

Students also viewed these Mathematics questions

Question

Implement the method contains() for BST.

Answered: 1 week ago

Question

According to the text, what makes a person successful?

Answered: 1 week ago