Question: Consider the following training regarding Decision for Weekend. Make a decision tree based on ID3 algorithm. Also describe which feature would ID3 algorithm choose as
Consider the following training regarding Decision for Weekend. Make a decision tree based on ID3 algorithm. Also describe which feature would ID3 algorithm choose as root node and why?
| weekend | weather | parents | money | decision (category) |
| W1 | SUNNY | YES | RICH | CINEMA |
| W2 | SUNNY | NO | RICH | TENNIS |
| W3 | WINDY | YES | RICH | CINEMA |
| W4 | RAINY | YES | POOR | CINEMA |
| W5 | RAINY | NO | RICH | STAY IN |
| W6 | RAINY | YES | POOR | CINEMA |
| W7 | WINDY | NO | POOR | CINEMA |
| W8 | WINDY | NO | RICH | SHOPPING |
| W9 | WINDY | YES | RICH | CINEMA |
| W10 | SUNNY | NO | RICH | TENNIS |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
