Question
(a) (b) (c) Consider the following dataset. Gender Car Type Shirt Size Class label M M M M F F F M M M
(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 ...Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started