Question: If given attribute X in a dataset has 150 N (No) and 350 Y (yes) values and 135 out of the 150 N correspond

If given attribute X in a dataset has 150 N (No) and 

If given attribute X in a dataset has 150 N (No) and 350 Y (yes) values and 135 out of the 150 N correspond to the H label while only 65 out of the 350 correspond to the H label. Compute the gini impurity of each of the two children nodes for attribute X and the gini gain of X

Step by Step Solution

3.40 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Solution 150N 350Y 135H 65H n150 nH135 nH15013515 pH in N13515009 pH in N1515001 n350 nH65 nH... View full answer

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 Accounting Questions!