Interview: 'how would you tune HDBSCAN's ?'
hardAnswer
- (1) Business constraint: what's the smallest meaningful group in the domain?
- (2) Sensitivity analysis: sweep ∈ [5, 10, 20, 50, 100] → measure silhouette + noise-fraction + number-of-clusters.
- (3) Stability: bootstrap Jaccard between runs.
- (4) Choose the that gives stable + interpretable + right number of clusters.
- (5) Also tune (density conservativeness) and ('leaf' vs 'eom').
- Iterate.
Check yourself — multiple choice
- Random
- Business minimum group size + sweep [5..100] + silhouette + noise fraction + stability bootstrap; also tune (leaf/eom)
- Just default
- Not tunable
HDBSCAN tuning: method; stability sweep.
#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: 'you have to pick k for the executive team — walk me through it.'
- Interview: after segmentation, one segment has 60% women but each region shows 40%. Why?