Question: Train an ID3 decision tree for a dataset shown in the following table. The table contains 2 categorical attributes (refund and marital status) and 1

Train an ID3 decision tree for a dataset shown in the following table. The table contains 2 categorical attributes (refund and marital status) and 1 continuous attribute (taxable income). Once you got the model then use it to classify the input X1 (No, Single, 95K) and X2 (Yes, Divorced, 120K)

ID

Marital

Status

Refund

Taxable

Income

Cheat

1

Single

Yes

125K

No

2

Married

No

100K

No

3

Single

No

70K

No

4

Married

Yes

120K

No

5

Divorced

No

95K

Yes

6

Married

No

60K

No

7

Divorced

Yes

220K

No

8

Single

No

85K

Yes

9

Married

No

75K

No

10

Single

No

90K

Yes

Please answer correctly and DO NOT COPY-PASTE from other questions, please answer it by providing an explanation of the answer. If the answer needs code, then explain the code in detail and add interactive visuals (optional). Please don't answer it incorrectly, PAY ATTENTION TO THE QUESTION!!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!