subject

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.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:50
17. implement the jvm dload instruction for the mic-2. it has a 1-byte index and pushes the local variable at this position onto the stack. then it pushes the next higher word onto the stack as well
Answers: 2
question
Computers and Technology, 22.06.2019 13:00
Which part of the cpu accepts data?
Answers: 1
question
Computers and Technology, 22.06.2019 13:30
Asoftware company hired ray, a college graduate to work in their development team. ray is assigned to work in the coding phase of a project. what happens during the coding phase of a software development project? a. the customer receives a working model of the software. b. developers convert the program design into code. c. developers gather requirements directly from the stakeholders. d. testing teams check the product for quality.
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
If joey was single and his taxable income was $9,500, how much would he pay in taxes each year?
Answers: 1
You know the right answer?
Consider the training examples shown in Table 4.1 for a binary classification problem. Table 4.1. D...
Questions
question
History, 12.03.2021 22:30
question
Computers and Technology, 12.03.2021 22:30
question
English, 12.03.2021 22:30
question
Mathematics, 12.03.2021 22:30
Questions on the website: 13722363