1. Consider the training examples shown in the table below for a binary classification problem. (...
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.
Table 3.5. Data set for Exercise 2 Customer ID Gender Car Type Shirt Size Class amily Sports Sports Sports SportsExtra LargeC Sports Extra LargeC Sports Sports Sports Luxury Family Family Extra Large Cl Family LuxuryExtra...
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 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 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...