Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the training examples shown above in Table 3.5 for a binary classification problem. (a) Compute the Gini index for the overall collection of training
Consider the training examples shown above in Table 3.5 for a binary classification problem. (a) Compute the Gini index for the overall collection of training examples. (b) Compute the Gini index for the Customer ID attribute. (c) Compute the Gini index for the Gender attribute.
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 C1Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started