Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3 Decision trees (4P) Given the transaction table from a car dealer database as the training set T for a binary classification problem. (Write intermediate

image text in transcribed

3 Decision trees (4P) Given the transaction table from a car dealer database as the training set T for a binary classification problem. (Write intermediate steps for all following questions, keep three digits after decimal for all calculation) buys.car no no ID is student income gender age T1 no high male middle aged T2 no high female youth T3 no high male middle aged T4 no medium male senior T5 yes low male senior T6 yes low female senior T7 yes low female middle aged T8 no medium male youth T9 yes low male youth T10 yes medium male senior T11 yes medium male youth T12 no medium female middle aged T13 yes high male middle aged T14 no medium female senior yes yes yes no yes no yes yes yes yes yes no (1) Compute the entropy of the attribute gender. (2) Compute the information gain of the attribute is student. (3) Compute the Gini index for the training set T. (4) Compute the Gini index of the attribute income w.r.t. T

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

More Books

Students also viewed these Databases questions