HDBScan

Python library for hierarchical density-based clustering

DecliningOpen SourceLow lock-in

Pricing

Free tier

Flat rate

Adoption

Cooling

License

Open Source

Data freshness

Aging · Jun 8, 2026

Overview

What is HDBScan?

HDBScan is a Python implementation of the HDBSCAN algorithm used for clustering data. It provides efficient and robust methods to discover clusters in datasets without requiring the number of clusters as input.

Key differentiator

HDBScan stands out for its ability to automatically determine the number of clusters and handle datasets with varying densities, making it a powerful tool for exploratory data analysis.

Capability profile

Capability Radar

Ease of StartEcosystemValueMaturityFlexibilityScale Ready

Honest assessment

Strengths & Weaknesses

↑ Strengths

Automatically determines the number of clustersmedium

Handles varying densities within datamedium

Robust to noise and outliersmedium

↓ Weaknesses

Steep learning curve for non-Python developershigh

API requires Python-specific patterns, TypeScript SDK is community-maintained

Limited to Python ecosystemmedium

Primary language support is Python; limited integration with other languages without significant overhead

Performance issues with very large datasetshigh

Scalability challenges arise when processing multi-million record datasets, leading to increased computational requirements and longer runtime

Sparse documentation for advanced featuresmedium

Official documentation is lacking in-depth explanations for some complex functionalities, relying heavily on community forums and external resources

Fit analysis

Who is it for?

✓ Best for

Data scientists who need to discover natural groupings within large datasets without specifying the number of clusters beforehand.

Machine learning projects where varying densities and noise in data are expected.

✕ Not a fit for

Real-time clustering applications requiring low-latency responses

Projects with extremely limited computational resources

Cost structure

Pricing

Free Tier

Available

Open source — free to use

Starts at

$0

Model

Flat rate

Enterprise

None

Performance benchmarks

How Fast Is It?

Ecosystem

Relationships

Next step

Get Started with HDBScan

Step-by-step setup guide with code examples and common gotchas.

View Setup Guide →