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 06:50
Match the personality traits with their description
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
The great length of north america causes the climate to be varied. true false
Answers: 2
question
Computers and Technology, 23.06.2019 06:30
On early television stations, what typically filled the screen from around 11pm until 6am? test dummies test patterns tests testing colors
Answers: 1
question
Computers and Technology, 24.06.2019 07:30
Aproject involves many computing systems working together on disjointed task towards a single goal what form of computing would the project be using
Answers: 3
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
Mathematics, 11.02.2020 01:37
question
Mathematics, 11.02.2020 01:38
Questions on the website: 13722359