Decision Trees
[10 points] Calculate the entropy and information gain for each attribute and draw the
decision tree to classify the data points
Attributes Class
(x1,x2,x3)
(0,0,0) 0
(0, 0, 1) 0
(0, 1, 0) 0
(0, 1, 1) 0
(1, 0, 0) 0
(1, 0, 1) 1
(1, 1, 0) 0
(1, 1, 1) 1