Question: Question 1 Consider the training examples shown in Table 1 for a binary classification problem. Table 1: Data set for Exercise 1. Customer ID Cender

Question 1 Consider the training examples shown in Table 1 for a binary classification problem. Table 1: Data set for Exercise 1. Customer ID Cender Car Lype Class amily SposCo SportsCO SportsCO M Sports SportsCO Sports CO Sports Co SportsCO Luxury Co FamilyC1 Faly C FamilyCi Luxury C1 Luxury C1 Luxury C1 LuxuryC1 LuxuryC1 Luxury C1 9 12 13 14 15 16 18 19 C1 (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 (d) Compute the Gini index for the Car Type attribute using multiway split (e) Which of the three attributes has the lowest Gini index? (f) Which of the three attributes will you use for splitting at the root node? Briefly explain your choice
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
