How does HDBSCAN overcome DBSCAN's sensitivity to varying densities?

Quick Overview

Asks how HDBSCAN handles clusters of different densities that a single DBSCAN eps cannot capture. Tests understanding of core and mutual reachability distance, the condensed cluster hierarchy, stability-based cluster selection and the parameters that still matter.

How does HDBSCAN overcome DBSCAN's sensitivity to varying densities?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

How does HDBSCAN overcome DBSCAN's sensitivity to varying densities? ```hint Picture a failing case Sketch two tight clusters close together plus one loose cluster far away, and try to find a single `eps` that DBSCAN could use for all three. ``` ```hint Let each cluster choose Ask what would change if each cluster could have its own density threshold, and how you would judge which threshold suits it. ``` ### What a Strong Answer Covers - Why a single global `eps` fails when clusters have different densities - How HDBSCAN redefines distance so that density is built into it - How the cluster hierarchy is built and condensed, and what `min_cluster_size` controls - How clusters are selected from different levels of the hierarchy - What still needs tuning and where the method struggles ### Follow-up Questions - How do `min_samples` and `min_cluster_size` differ in their effect on the result? - How would you use HDBSCAN's outlier scores for anomaly detection? - Why is HDBSCAN often run after UMAP or another dimensionality reduction step on embeddings? - When would you choose leaf cluster selection over excess of mass?

Overview: Asks how HDBSCAN handles clusters of different densities that a single DBSCAN eps cannot capture. Tests understanding of core and mutual reachability distance, the condensed cluster hierarchy, stability-based cluster selection and the parameters that still matter.

General logo
General
Nov 25, 2026
hardMachine Learning EngineerOtherMachine Learning
0
0

How does HDBSCAN overcome DBSCAN's sensitivity to varying densities?

What a Strong Answer Covers Guidance

  • Why a single global eps fails when clusters have different densities
  • How HDBSCAN redefines distance so that density is built into it
  • How the cluster hierarchy is built and condensed, and what min_cluster_size controls
  • How clusters are selected from different levels of the hierarchy
  • What still needs tuning and where the method struggles

Follow-up Questions Guidance

  • How do min_samples and min_cluster_size differ in their effect on the result?
  • How would you use HDBSCAN's outlier scores for anomaly detection?
  • Why is HDBSCAN often run after UMAP or another dimensionality reduction step on embeddings?
  • When would you choose leaf cluster selection over excess of mass?