Question: Based on Entropy ,which attribute (temp or windy) should be put to the root node ( first level) of the decision tree? Class/label Temp Windy
Based on Entropy ,which attribute (temp or windy) should be put to the root node ( first level) of the decision tree?
| Class/label | Temp | Windy |
| Don't play | 95 | false |
| Don't play | 90 | true |
| play | 77 | false |
| play | 70 | true |
| play | 68 | false |
| Don't play | 60 | true |
| play | 55 | false |
| play | 50 | false |
Entropy = -p - Pi *log2 Pi
a) Compute the overall entropy of the whole datset without splitting ?
b) Compute the result entropy if we split on windy ?
C) Compute the minimum entropy if we split on tem
D) compare the results from c)and d) , decide which attribute is best to put to root node .
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
