Question: Anshuman is a First-year engineering student. For him it is difficult to decide what to do in the evening. There are four things that
Anshuman is a First-year engineering student. For him it is difficult to decide what to do in the evening. There are four things that he can actually quite enjoy doing, or have to do: to play Soccer, watching TV, going to a party, or even (gasp) studying. He is looking for a nice Decision Tree that will let him decide what to do each evening without having to think about it every night. The Table-1 lists everything that Anshuman has done for the past few days [the last ten days]. i. Develop a decision tree using ID3 algorithm for the following dataset. Show all the calculations required for making the decision tree. ii. Table-1 Deadline? Is there a Party? Lazy? Activity Urgent Yes Yes Party Urgent No Yes Study Near Yes Yes Party None Yes No Party None No Yes Play Soccer None Yes No Party Near No No Study Near No Yes Watch TV Near Yes Yes Party Urgent No No Study
Step by Step Solution
3.42 Rating (149 Votes )
There are 3 Steps involved in it
In ID3 we are using information gain as th... View full answer
Get step-by-step solutions from verified subject matter experts
