scikit-learn-contrib/hdbscan

A high performance implementation of HDBSCAN clustering.

What it solves

HDBSCAN addresses the limitations of traditional clustering algorithms like DBSCAN, which struggle to identify clusters of varying densities and often require complex parameter tuning. It provides a robust, high-performance way to find meaningful clusters in data with minimal setup.

How it works

It performs density-based clustering by analyzing data across varying distance scales. By integrating these results, it identifies the most stable clusters. Because it inherits from scikit-learn, it uses a familiar, drop-in API, allowing you to cluster data arrays or distance matrices with just a few lines of code.

Who it’s for

It is designed for data scientists and researchers performing exploratory data analysis who need a fast, reliable clustering tool that works well out-of-the-box without requiring extensive manual configuration.

Highlights

  • Highly optimized performance that is faster than many standard implementations.
  • Robust to parameter selection, with an intuitive primary parameter (minimum cluster size).
  • Includes built-in tools for outlier detection (GLOSH) and branch detection.
  • Provides visualization support for cluster hierarchies and stability analysis.
  • Supports soft clustering, allowing for membership strength calculations.

Related

  • Project
  • Project
  • Project
  • Project