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?
- A. 0.16
- B. 0.32
- C. 0.48
- 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.
Practise more Operations, Supply Chain & Business Analytics questionsOperations, Supply Chain & Business Analytics: notes and key points
More Operations, Supply Chain & Business Analytics questions
- For the same split (parent 6 renew / 4 not; left child 5/0; right child 1/4), what is the information gain using entropy in bits (to two…
- A fraud model is tested on 1,000 transactions: it flags 130, of which 40 are truly fraudulent; 10 frauds are missed; 860 genuine…
- B1:E1 hold sales thresholds 0, 1000, 5000, 10000 (ascending) and B2:E2 hold commission rates 0%, 5%, 8%, 10%. What do =HLOOKUP(7500…
- What does =EFFECT(12%, 12) return in Excel?
- A loan of ₹2,00,000 at 1% a month is repaid with ₹5,000 at the end of each month. What does =NPER(1%, -5000, 200000) return (to one…
- A2:A9 hold 2, 4, 4, 4, 5, 5, 7, 9. What do =STDEV.P(A2:A9) and =STDEV.S(A2:A9) return (to two decimals)?