Question: 2 . Consider the training dataset shown in the table. The last attribute Cheat is the class attribute. For a binary split of these data
Consider the training dataset shown in the table. The last attribute Cheat is the class attribute. For a binary split of these data using attribute Refund, compute the gain in purity using Gini index.
begintabularlllll
hline Tid & Refund & Marital & multicolumnc Taxable
hline & & Status & Income & Cheat
hline & Yes & Single & K & No
& No & Married & K & No
& No & Single & K & No
& Yes & Married & K & No
& No & Divorced & K & Yes
& No & Married & K & No
& Yes & Divorced & K & No
& No & Single & K & Yes
& No & Married & K & No
& No & Single & K & Yes
hline
endtabular
Training Data
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
