The next example we will look at is a classical one in many Machine Learning applications. Based on various meteorological features, we have several so-called attributes which decide whether we at the end will do some outdoor activity like skiing, going for a bike ride etc etc. The table here contains the feautures outlook, temperature, humidity and wind. The target or output is whether we ride (True=1) or whether we do something else that day (False=0). The attributes for each feature are then sunny, overcast and rain for the outlook, hot, cold and mild for temperature, high and normal for humidity and weak and strong for wind.
The table here summarizes the various attributes and
Day | Outlook | Temperature | Humidity | Wind | Ride |
1 | Sunny | Hot | High | Weak | 0 |
2 | Sunny | Hot | High | Strong | 1 |
3 | Overcast | Hot | High | Weak | 1 |
4 | Rain | Mild | High | Weak | 1 |
5 | Rain | Cool | Normal | Weak | 1 |
6 | Rain | Cool | Normal | Strong | 0 |
7 | Overcast | Cool | Normal | Strong | 1 |
8 | Sunny | Mild | High | Weak | 0 |
9 | Sunny | Cool | Normal | Weak | 1 |
10 | Rain | Mild | Normal | Weak | 1 |
11 | Sunny | Mild | Normal | Strong | 1 |
12 | Overcast | Mild | High | Strong | 1 |
13 | Overcast | Hot | Normal | Weak | 1 |
14 | Rain | Mild | High | Strong | 0 |