Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1. Consider the training examples shown in the table below for a binary classification problem Customer ID Gender Car Type Class 1 Family CO
Question 1. Consider the training examples shown in the table below for a binary classification problem Customer ID Gender Car Type Class 1 Family CO 2 M Sports 3 M Sports CO 4 M Sports 5 M Sports CO M Sports Sports 8 F Sports F Sports 10 F Luxury 11 M Family C1 12 M Family C1 13 M Family C1 14 M Luxury 15 F Luxury Ci 16 F Luxury C1 17 F Luxury Ci 18 F Luxury Ci 19 F Luxury Ci 20 F Luxury Ci (a) Compute the Gini index for the overall collection of training examples. (d) Compute the Gini index for the Car Type attribute using multiway split. (e) Which of the three attributes has the lowest Gini index? (1) Which of the three attributes will you use for splitting at the root node? Explain your choice
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