Thursday, May 03, 2012

Decision Learning Tree Problem


Problem :



     Mr. Apple is a CSE student who listens to music almost everywhere he goes. He often has homework due for his modules and many of them involve programming. We have sampled his choice of music genre over several points in time.

    Using information gain, compute the decision tree for the following observations of Apple. Show all work. The following mathematical formulas may be useful for your computation.




TimeOfDay
HomeworkDue
Programming
Music Type?
Morning
Yes
No
Classical
Morning
No
No
Pop
Morning
No
Yes
Classical
Morning
Yes
No
Classical
Afternoon
Yes
Yes
Pop
Afternoon
No
No
Pop
Evening
No
Yes
Pop
Evening
Yes
Yes
Classical

No comments:

Post a Comment