Question: Consider the training examples shown in Table 3.5 for a binary classification problem. (d) Compute the Gini index for the Car Type attribute using multiway

 Consider the training examples shown in Table 3.5 for a binary

Consider the training examples shown in Table 3.5 for a binary classification problem. (d) Compute the Gini index for the Car Type attribute using multiway split. (e) Compute the Gini index for the Shirt Size attribute using multiway split. (f) Which attribute is better, Gender, Car Type, or Shirt Size? (g) Explain why Customer ID should not be used as the attribute test condition even though it has the lowest Gini.

Table 3.5. Data set for Exercise 2 Customer ID Gender Car Type Shirt Size Class amily Sports Sports Sports SportsExtra LargeC Sports Extra LargeC Sports Sports Sports Luxury Family Family Extra Large Cl Family LuxuryExtra LargeC1 Luxury Luxury Luxury Luxury Luxury Luxury Medium Medium Large CO CO Small Small Medium Large Large CO CO C1 10 12 13 14 Medium C1 16 17 18 19 20 Small Small Medium Medium Medium Large C1 C1 C1 C1 C1 C1

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!