Computers and Technology
Computers and Technology, 16.06.2020 22:57, marisol84

Consider the training examples shown in Table 4.1 for a binary classification problem. Table 4.1. Data set for Exercise 2.
Customer ID Gender Car Type Shirt Size Class
1 M Family Small
2 M Sports Medium
3 M Sports Medium
4 M Sports Large
5 M Sports Extra Large
6 M Sports Extra Large
7 F Sports Small
8 F Sports Small
9 F Sports Medium
10 F Luxury Large
11 M Family Large
12 M Family Extra Large
13 M Family Medium
14 M Luxury Extra Large
15 F Luxury Small
16 F Luxury Extra Large
17 F Luxury Medium
18 F Luxury Large
(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.
(f) Which attribute is better, Gender, Car Type, or Shirt Size?
(g) Explain why Customer ID should not be used as the attribute test condition even though it has the lowest Gini.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 20:30, carealee
What important technology has done the most to allow a businesses a chance to compete with larger international companies
Answers: 1
image
Computers and Technology, 22.06.2019 08:30, marialuizavalen
Today is the anniversary of me being on yet, i don't need it anymore! here's a picture of my dog wearing a bowtie! my question is, how do i delete my account?
Answers: 1
image
Computers and Technology, 23.06.2019 14:00, ava5015
What is html ? give a small description about html
Answers: 2
image
Computers and Technology, 23.06.2019 16:30, isaiahhuettnerowgg8d
What is one reason why indoor air pollution has become an increasing problem.
Answers: 1
Do you know the correct answer?
Consider the training examples shown in Table 4.1 for a binary classification problem. Table 4.1. D...

Questions in other subjects:

Konu
Chemistry, 22.09.2020 14:01
Konu
Mathematics, 22.09.2020 14:01
Konu
Mathematics, 22.09.2020 14:01
Konu
History, 22.09.2020 14:01