Question: Use Naive Bayes with data below to predict whether a player will play golf or not if there is no wind (windy = false). calculate
Use Naive Bayes with data below to predict whether a player will play golf or not if there is no wind (windy = false).
calculate P(yes|windy=false) and P(no|windy=false) based on Bayess theorem
| Temp | Windy | Class (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 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
