Question

Table 3.5. Data set for Exercise 2 Customer ID Gender Car Type Shirt Size Class amily Sports Sports Sports SportsExtra LargeC

Consider the training examples shown above in Table 3.5 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.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

AnseY a) 6INI INDEX f ovevall collection Traiving example The Gin index s mne Ihe sum o the fraction ot Ye cordi belonging XoGini Cusromey 1o) hoO4 20 e) Gini Index fov Giender atvilade e 0. 48 Gini (Female): t-rCol) PCC,旧 : 48 Gini (Gerde).TConale).

Add a comment
Know the answer?
Add Answer to:
Consider the training examples shown above in Table 3.5 for a binary classification problem. (a) Compute...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. Consider the training examples shown in the table below for a binary classification problem. (...

    1. Consider the training examples shown in the table below for a binary classification problem. (60 points) der Car Type Shirt Size Class CO Customer ID Gen Small Medium Medium Large Family Sports Sports Sports SportsExtra LargeCO SportsExtra Large CO Sports Sports Sports Luxury Family FamilyExtra Large C1 Family LuxuryExtra Large C1 Luxury Luxury Luxury Luxury Luxury Luxury Small Small Medium Large Large 10 C1 12 13 14 15 16 17 18 19 20 Medium C1 Small Small Medium Medium...

  • 07. [Classification] Consider the following data set for a binary-class problem. [20] Customer ID Gender M...

    07. [Classification] Consider the following data set for a binary-class problem. [20] Customer ID Gender M Class CO CO M M M M Car Type Family Sports Sports Sports Sports Sports Sports Sports Sports Luxury Family Family Family Luxury Luxury Luxury Luxury Luxury Luxury Luxury Shirt Size Small Medium Medium Large Extra Large Extra Large Small Small Medium Large Large Extra Large Medium Extra Large Small Small Medium Medium Medium 888885555555555 Large 1. Compute the Gini index for the overall...

  • Consider the training examples shown in the table below for a binary classification problem. (a) What...

    Consider the training examples shown in the table below for a binary classification problem. (a) What is the entropy of this collection of training examples with respect to the positive class? (b) What are the information gains of a1 and a2 relative to these training examples? (c) For a3, which is a continuous attribute, compute the information gain for every possible split. (d) What is the best split (among a1 a2, and a3) according to the information gain? (e) What...

  • 2. Consider the training examples shown in the table below for a binary classification problem. (40...

    2. Consider the training examples shown in the table below for a binary classification problem. (40 points) Instance| a1 a2 аз | Target Class T T1.0 2 T T 6.0 3 T F 5.0 4 F F 4.0 5 F T 7.0 6 F T 3.0 7 F F 8.0 IT F 7.0 F T 5.0 9 (1) What is the entropy of this collection of training examples with respect to the class attribute? (2) What are the information gains...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT