Question: Suppose you are given 6 training points as seen below, for a classification problem with two binary attributes x 1 and x 2 and three

Suppose you are given 6 training points as seen below, for a classification problem with two
binary attributes x1 and x2 and three classes Yin{1,2,3}. You will use a decision tree learner
based on information gain.
(1) Calculate the conditional entropy for both x1 and x2.
(2) Calculate the information gain if we split based on 1)x1 or 2)x2.
(3) Report which attribute is used for the first split. Draw the decision tree using this split.
(4) Conduct classification for the test example x1=0 and x2=1.
 Suppose you are given 6 training points as seen below, for

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!