Day |
Outlook |
Temp. |
Humidity |
Wind |
Play Tennis |
D1 |
Sunny |
Hot |
High |
Weak |
No |
D2 |
Sunny |
Hot |
High |
Strong |
No |
D3 |
Overcast |
Hot |
High |
Weak |
Yes |
D4 |
Rain |
Mild |
High |
Weak |
Yes |
D5 |
Rain |
Cool |
Normal |
Weak |
Yes |
D6 |
Rain |
Cool |
Normal |
Strong |
No |
D7 |
Overcast |
Cool |
Normal |
Weak |
Yes |
D8 |
Sunny |
Mild |
High |
Weak |
No |
D9 |
Sunny |
Cold |
Normal |
Weak |
Yes |
D10 |
Rain |
Mild |
Normal |
Strong |
Yes |
D11 |
Sunny |
Mild |
Normal |
Strong |
Yes |
D12 |
Overcast |
Mild |
High |
Strong |
Yes |
D13 |
Overcast |
Hot |
Normal |
Weak |
Yes |
D14 |
Rain |
Mild |
High |
Strong |
No |
P(PlayTennis=Yes) = 9/14 , P(PlayTennis=No)= 5/14
P(Outlook=?/PlayTennis=Yes), P(Outlook=?/PlayTennis=No)
P(Outlook=Sunny/PlayTennis=Yes)= 2/9
P(Outlook=Overcast/PlayTennis=Yes)=4/9
P(Outlook=Rain/PlayTennis=Yes)=3/9
P(Outlook=Sunny/PlayTennis=No)=3/5
P(Outlook=Overcast/PlayTennis=No)=0/5
P(Outlook=Rain/PlayTennis=No)=2/5
P(Temp=?/PlayTennis=Yes), P(Temp=?/PlayTennis=No)
P(Temp=Hot/PlayTennis=Yes)=
P(Temp=Mild/PlayTennis=Yes)=
P(Temp=Cold/PlayTennis=Yes)=
P(Temp=Hot/PlayTennis=No)=
P(Temp=Mild/PlayTennis=No)=
P(Temp=Cold/PlayTennis=No)=
P(Humidity=?/PlayTennis=Yes), P(Humidity=?/PlayTennis=No)
P(Humidity=High/PlayTennis=Yes)=
P(Humidity=Normal/PlayTennis=Yes)=
P(Humidity=High/PlayTennis=No)=
P(Humidity=Normal/PlayTennis=No)=
P(Wind=?/PlayTennis=Yes), P(Wind=?/PlayTennis=No)
P(Wind=Strong/PlayTennis=Yes)=
P(Wind=Weak/PlayTennis=Yes)=
P(Wind=Strong/PlayTennis=No)=
P(Wind=Weak/PlayTennis=No)=
Do we play tennis
<Outlook=Sunny, Temp=cool, Humidity=high, Wind=Strong> => PlayTennis = ?
<Outlook=Overcast, Temp=high, Humidity=Normal, Wind=Weak> => PlayTennis = ?