Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

table [ [ Customer ID , Gender,Car Type,Shirt Size,Class ] , [ 1 , M , Family,Small,C 0 ] , [ 2 , M

\table[[Customer ID,Gender,Car Type,Shirt Size,Class],[1,M,Family,Small,C0],[2,M,Sports,Medium,C0],[3,M,Sports,Medium,C0],[4,M,Sports,Large,C0],[5,M,Sports,Extra Large,C0],[6,M,Sports,Extra Large,C0],[7,F,Sports,Small,C0],[8,F,Sports,Small,C0],[9,F,Sports,Medium,C0],[10,F,Luxury,Large,C0],[11,M,Fauily,Large,C1],[12,M,Fuuily,Extra Large,C1],[13,M,Family,Medium,C1],[14,M,Luxury,Extra Large,C1],[15,F,Luxury,Small,C1],[16,F,Luxury,Small,C1],[17,F,Luxury,Medium,C1],[18,F,Luxury,Medium,C1],[19,F,Luxury,Medium,C1],[20,F,Luxury,Large,C1]]
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.
image text in transcribed

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

Entity Alignment Concepts Recent Advances And Novel Approaches

Authors: Xiang Zhao ,Weixin Zeng ,Jiuyang Tang

1st Edition

9819942527, 978-9819942527

More Books

Students also viewed these Databases questions

Question

What is database?

Answered: 1 week ago

Question

What are Mergers ?

Answered: 1 week ago