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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!