Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Consider the following set of training data for a binary classification problem: Gender Class CO M M Shirt Size Small Medium Medium Large Extra

image text in transcribed
2. Consider the following set of training data for a binary classification problem: Gender Class CO M M Shirt Size Small Medium Medium Large Extra Large Extra Large Small Small Medium CO CO CO CO CO CO CO Car Type Family Sports Sports Sports Sports Sports Sports Sports Sports Luxury Family Family Family Luxury Luxury Luxury Luxury Luxury Luxury Luxury Lunge M EDHE C1 M ci CI Large Extra Large Medium Extra Large Small Small Medium Medium Medium Large CI C1 F F 20 E C1 (a) Compute the weighted average Gini index for the overall collection of training data (ie, the parent node). (b) Compute the weighted average Gini index for the Gender attribute. (c) Compute the weighted average Gini index for the Car Type attribute using multiway split (as opposed to one of the binary splits). (d) Compute the weighted average Gini index for the Shirt Size attribute using multiway split. (e) Which attribute is better to use as the first split in a decision tree? (f) Now compute the weighted average Gini index for the Customer ID attribute. Why should this not be used as an attribute test condition

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_2

Step: 3

blur-text-image_3

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

Surviving A HIPAA Audit Learning The Art Of Compliance

Authors: Dave Sweigert

1st Edition

1507617453, 978-1507617458

More Books

Students also viewed these Accounting questions

Question

Choosing Your Topic Researching the Topic

Answered: 1 week ago

Question

The Power of Public Speaking Clarifying the

Answered: 1 week ago