Interview: 'you have to pick k for the executive team — walk me through it.'
mediumAnswer
- (1) Business first: how many actionable groups can marketing / product operate?
- Usually 3-8 in practice.
- (2) Compute silhouette, gap statistic, BIC (if GMM) across k = 2-15.
- (3) Plot metrics — find plateau / knee.
- (4) Choose k that satisfies business AND metrics (e.g. silhouette > 0.3 acceptable, gap not too noisy).
- (5) Stability check: does the top-k survive resampling?
- (6) Present 2-3 candidates with pros/cons; let the exec team choose the interpretation.
Check yourself — multiple choice
- Random
- Business constraint (3-8 actionable) + silhouette / gap / BIC across k=2-15 + stability check + present 2-3 candidates with pros/cons
- Just elbow
- Not real
Pick k: business constraint + metrics + stability + present options.
#interview#clustering
Practise Unsupervised Learning
214 interview questions in this topic.
Related questions
- Interview: 'you're asked to segment 10M customers — how?'
- Interview: cluster 5M e-commerce customers for a marketing campaign.
- Interview: how would you group log messages from a large distributed system?
- Interview: business asks 'why is customer X in Cluster 3?' — how do you explain?
- Interview: after segmentation, one segment has 60% women but each region shows 40%. Why?
- Interview: how would you cluster 1B rows on a budget?