Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(a) (b) (c) Consider the following dataset. Gender Car Type Shirt Size Class label M M M M F F F M M M

image text in transcribed 

(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

Step by Step Solution

3.39 Rating (137 Votes )

There are 3 Steps involved in it

Step: 1

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 ... blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st edition

321321367, 978-0321321367

More Books

Students also viewed these Programming questions

Question

Did the author acknowledge the limitations of the study?

Answered: 1 week ago

Question

32. Determine the long-run proportion of time thatI mage.

Answered: 1 week ago