Question: Exercise 1 . Consider the training examples shown below for a binary classification problem. table [ [ Customer ID , Gender,Car Type,Shirt Size,Class ]
Exercise Consider the training examples shown below for a binary classification problem.
tableCustomer IDGender,Car Type,Shirt Size,ClassMFamily,Small,CMSports,Medium,CMSports,Medium,CMSports,Large,CMSports,Extra Large,CMSports,Extra Large,CFSports,Small,CFSports,Small,CFSports,Medium,CFLuxury,Large,CMFamily,Large,CMFamily,Extra Large,CMFamily,Medium,CMLuxury,Extra Large,CFLuxury,Small,CFLuxury,Small,CFLuxury,Medium,CFLuxury,Medium,CFLuxury,Medium,CFLuxury,Large,C
a Compute the Gini index for the Gender attribute.
b Compute the Gini index for the Car Type attribute.
c Compute the Gini index for the shirt size attribute.
d Which of the above three attributes is better?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
