Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use Naive Bayes with data below to predict whether a player will play golf or not if there is no wind (windy = false). Extra

Use Naive Bayes with data below to predict whether a player will play golf or not if there is no wind (windy = false). Extra credit: Also predict whether a player will play golf or not if the weather is cool and windy.

Bayes' theorem P(classdata)= (P(dataclass)*P(class))/(P(data))

Temp

Windy

Class Label(play)

hot

false

No

hot

true

No

hot

false

Yes

hot

false

Yes

cool

false

Yes

cool

true

No

cool

true

No

mild

false

No

cool

true

Yes

mild

false

Yes

mild

true

Yes

hot

false

Yes

mild

true

No

If multiple features: data = {d1, d2,, dn} P(dataclass)= P(d_1class)* P(d_2class)** P(d_nclass)

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

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

More Books

Students also viewed these Databases questions

Question

General Explaination of how the core RSA algorithm is coded (JAVA)

Answered: 1 week ago