154k views
3 votes
a. Can you draw a decision tree having 100% accuracy on this training set? If you answer is yes, draw the decision tree in the space provided below. If your answer is no, explain why? b. Which attribute among A, B and C has the highest information gain? Explain your answer.

User Hyla
by
4.7k points

1 Answer

6 votes

Answer:

Day Weather Temperature Humidity Wind Play?

1 Sunny Hot High Weak No

2 Cloudy Hot High Weak Yes

3 Sunny Mild Normal Strong Yes

4 Cloudy Mild High Strong Yes

5 Rainy Mild High Strong No

6 Rainy Cool Normal Strong No

7 Rainy Mild High Weak Yes

8 Sunny Hot High Strong No

9 Cloudy Hot Normal Weak Yes

10 Rainy Mild High Strong No

Explanation:

a. Can you draw a decision tree having 100% accuracy on this training set? If you-example-1
User Rotemmiz
by
5.5k points