(a) (b) (c) Consider the following dataset. Gender Car Type Shirt Size Class label M M...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
(a) (b) (c) Consider the following dataset. Gender Car Type Shirt Size Class label M M M M F F F M M M Family Sports Sports Sports Sports Sports M F F F Luxury Family Family Family Luxury Luxury Luxury Luxury Small Medium Large Extra large Small Medium Large Large Extra large Medium CO CO CO CO CO CO CO CI Cl CI Extra large Small Medium Large Calculate entropy for overall collection of training examples. Calculate 'gain ratio' for 'Gender", "Car Type' and 'Shirt Size' attributes. Construct the decision tree using 'gain ratio'. Cl CI CI CI (a) (b) (c) Consider the following dataset. Gender Car Type Shirt Size Class label M M M M F F F M M M Family Sports Sports Sports Sports Sports M F F F Luxury Family Family Family Luxury Luxury Luxury Luxury Small Medium Large Extra large Small Medium Large Large Extra large Medium CO CO CO CO CO CO CO CI Cl CI Extra large Small Medium Large Calculate entropy for overall collection of training examples. Calculate 'gain ratio' for 'Gender", "Car Type' and 'Shirt Size' attributes. Construct the decision tree using 'gain ratio'. Cl CI CI CI
Expert Answer:
Answer rating: 100% (QA)
To calculate the entropy and gain ratio for the given dataset we need to understand the number of occurrences of each class label and attribute values Based on the provided dataset lets calculate the ... View the full answer
Related Book For
Introduction to Data Mining
ISBN: 978-0321321367
1st edition
Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar
Posted Date:
Students also viewed these programming questions
-
2. (10 points) Two suppliers of products are available to supply the needs of four supermarkets. Each supplier can provide 90 units per day. Each supermarket would like to receive 60 units per day....
-
Consider the training examples shown in Table 4.1 for a binary classification problem. a) Compute the Gini index for the overall collection of training examples. (b) Compute the Gini index for the...
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
Contact local employers and ask for copies of their employee handbooks. If none are available, research parent companies of local employers online to see if their employee handbooks are available....
-
Identify the class width, class midpoints, and class boundaries for the given frequency table. Mass (kg) | Frequency 0.0-4.9 5.0-9.9 10.0-14.9 15.0-19.9 20.0-24.9 60 58 61 62 59
-
In the article Temperature-Dependent Optical Constants of Water Ice in the Near Infrared: New Results and Critical Review of the Available Measurements (B. Rajaram, D. Glandorf, et al., Applied...
-
Use Hill's estimator and the data "d-csco9199.dat" to estimate the tail index for daily stock returns of Cisco Systems.
-
Preparing a schedule of cash payments for selling and administrative expenses Prestia is a retail company specializing in men's hats. Its budget director prepared the list of expected operating...
-
KHOLER CASE 1)What is the total enterprise value of Kohler Co. using a discounted cash flow approach? What isthe total enterprise value using a multiples (market value of comparable companies)...
-
Kepler's second law states that as a planet moves around in its orbit, it sweeps out equal areas in equal times. Examine the following figure, which shows a planet (blue dot, labeled "E"), orbiting...
-
1. A Java program that will use a two-dimensional array to store the multiplication table for numbers between 0 and n (input from user, range 3 - 20 --> validate input!). Use two methods (to ge...
-
Identify and discuss the value of volunteers and donations regarding Emergency Operation Centers and responses. Include what volunteers can and cannot do, who are they, and what are the pros and cons...
-
what is sales value? what is products quantity? what is the effects of products quantity on the sales value? what is the relation between products quantity and its effect on sale value?
-
Distinguish between marketing research and market research. Why is it important to understand the difference? Discuss the difference between primary and secondary research.
-
YOU HAVE TO ANSWER ALL QUESTIONS Question 1 (50 marks) Explain the concept of marketing. Is marketing just about 'selling' or 'advertising'? Explain. What are the implications of applying marketing...
-
Selected financial statements of the Lodh Ltd are shown below: Lodh Ltd Statement of Financial position As at 30 June 2020 2020 2019 Assets $ $ Cash at Bank 20 000 - Account Receivable 32 000 28 000...
-
[The following information applies to the questions displayed below.] Duval Co. issues four-year bonds with a $106,000 par value on January 1, 2019, at a price of $100,944. The annual contract rate...
-
Give the structural formulas of the alkenes that, on ozonolysis, give: a. (CH3)2C=O and CH2=O b. Only (CH3CH2)2C=O c. CH3CH=O and CH3CH2CH=O d. O=CHCH2CH2CH2CH=O
-
Show that the entropy of a node never increases after splitting it into smaller successor nodes.
-
Many sciences rely on observation instead of (or in addition to) designed experiments. Compare the data quality issues involved in observational science with those of experimental science and data...
-
Suppose we find K clusters using Ward's method, bisecting K-means, and ordinary K-means. Which of these solutions represents a local or global minimum? Explain.
-
What leadership style did Angie adopt in the beginning? Angie was an exceptional catheterization laboratory technician who was respected by her teammates. When the director of the cath lab took...
-
What characteristics did Perry lack that prevented him from being a transformational leader Perry was one of the worst bosses Lia had ever worked for. Perry had arrived from the main corporate office...
-
How was this CEO a transformational leader? Every year, the hospital provided free turkeys to employees during the Thanksgiving holiday. Eventually, the tradition became an entitlement and a...
Study smarter with the SolutionInn App