Answered step by step
Verified Expert Solution
Question
1 Approved Answer
table [ [ Customer ID , Gender,Car Type,Shirt Size,Class ] , [ 1 , M , Family,Small,C 0 ] , [ 2 , M
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,CMFauily,Large,CMFuuily,Extra Large,CMFamily,Medium,CMLuxury,Extra Large,CFLuxury,Small,CFLuxury,Small,CFLuxury,Medium,CFLuxury,Medium,CFLuxury,Medium,CFLuxury,Large,C
Consider the training examples shown in the above Table 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.
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.
Step 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