Management & CommerceHardMBA placement (Analytics)

A decision-tree node holds 10 customers: 6 renew and 4 do not. A split sends 5 customers (all renewers) left and 5 customers (1 renewer, 4 non-renewers) right. By how much does the split reduce weighted Gini impurity?

  1. A. 0.16
  2. B. 0.32
  3. C. 0.48
  4. D. 0.24

Correct answer: B. 0.32

Parent Gini = 1 − (0.6² + 0.4²) = 0.48. Left Gini = 0; right = 1 − (0.2² + 0.8²) = 0.32; weighted child Gini = 0.5 × 0 + 0.5 × 0.32 = 0.16. The reduction is 0.48 − 0.16 = 0.32; 0.16 is the child impurity, not the gain.

More Operations, Supply Chain & Business Analytics questions

Exams that ask this topic