We will use the example from Chapter 3, Decision Trees concerning swim preferences. We have the same data table, as follows:
Swimming suit |
Water temperature |
Swim preference |
None |
Cold |
No |
None |
Warm |
No |
Small |
Cold |
No |
Small |
Warm |
No |
Good |
Cold |
No |
Good |
Warm |
Yes |
Â
We would like to construct a random forest from this data and use it to classify an item (Good,Cold,?).