Question: Q 4 ( 2 . 5 points ) For the data shown in the following table ( Has Car, Education Level, Age Group, and Income

Q4(2.5 points)
For the data shown in the following table (Has Car, Education Level, Age Group, and Income Level) as features (attributes) and a Class (or output) variable class with three values as x,Y and Z .
(a) Calculate the Entropy of the Class.
(b) Suppose that the "Education Level" is the root of the tree. Complete the tree for the second level. (i.e. Replace ? with available features (i.e. Has Car, Age Group, and Income Level) or with the class values i a Yvv and 7 II
\table[[Has Car,Education Level,Age Group,Income Level,Class],[Yes,Bachelor,20-30,High,X],[No,High School,30-40,Low,Y],[Yes,Master,40-50,Medium,Z],[Yes,High School,30-40,Medium,Z],[No,Bachelor,20-30,Low,X],[No,Master,40-50,High,Y],[Yes,Bachelor,20-30,Low,X],[No,High School,30-40,Medium,Z],[Yes,Master,40-50,High,Y]]
 Q4(2.5 points) For the data shown in the following table (Has

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!