Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions