Question: Use Naive Bayes with data below to predict whether a player will play tennis or not if the weather is mild and windy. class/label temp
Use Naive Bayes with data below to predict whether a player will play tennis or not if the weather is mild and windy.
| class/label | temp | Windy |
| Don't play | hot | false |
| Don't play | hot | true |
| play | hot | false |
| play | hot | false |
| play | cool | false |
| Don't play | cool | true |
| play | cool | true |
| Don't play | mild | false |
| play | cool | true |
| play | mild | false |
| play | mild | true |
| play | hot | false |
| Don't play | mild | true |
Bayes theorem
P(class |data) = p(data|class)*p(class) _________________ p(data)
Naive bayesian classifiers
p(data|class) = p(d1|class)* p(d2|class)*...*....*p(dn|class)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
