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 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
Solution 150N 350Y 135H 65H n150 nH135 nH15013515 pH in N13515009 pH in N1515001 n350 nH65 nH... View full answer
Get step-by-step solutions from verified subject matter experts
