#211211th of 433 in ML frameworks and libraries

hdbscan

Python HDBSCAN clustering library with a scikit-learn API

Stars
3.2k
License
BSD-3-Clause
Last commit
Nov 2026
Last release
Jun 2026
Language
Jupyter Notebook
Stars, last 30 weeks+84
2 May 2026: 3,078 stars9 May 2026: 3,082 stars16 May 2026: 3,087 stars23 May 2026: 3,091 stars30 May 2026: 3,094 stars6 Jun 2026: 3,098 stars13 Jun 2026: 3,106 stars20 Jun 2026: 3,106 stars27 Jun 2026: 3,109 stars4 Jul 2026: 3,113 stars11 Jul 2026: 3,115 stars18 Jul 2026: 3,120 stars25 Jul 2026: 3,121 stars1 Aug 2026: 3,123 stars8 Aug 2026: 3,128 stars15 Aug 2026: 3,129 stars22 Aug 2026: 3,130 stars29 Aug 2026: 3,131 stars5 Sept 2026: 3,137 stars12 Sept 2026: 3,139 stars19 Sept 2026: 3,143 stars26 Sept 2026: 3,147 stars3 Oct 2026: 3,151 stars10 Oct 2026: 3,153 stars17 Oct 2026: 3,153 stars24 Oct 2026: 3,155 stars31 Oct 2026: 3,156 stars7 Nov 2026: 3,157 stars14 Nov 2026: 3,159 stars21 Nov 2026: 3,160 stars28 Nov 2026: 3,162 stars

3,078 on 2 May 20263,162 on 28 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Implements HDBSCAN density-based clustering in Python as a scikit-learn-compatible estimator (fit_predict). It accepts arrays, dataframes, sparse matrices or precomputed distance matrices. It also provides GLOSH outlier scores, soft cluster membership, robust single linkage and a BranchDetector for branching cluster shapes. Hierarchies can be plotted or exported to Pandas and NetworkX.

Who it is for: Data scientists doing exploratory clustering and outlier detection in Python

Strengths

  • Drop-in sklearn estimator API; main parameter is min_cluster_size
  • Finds clusters of varying density, unlike DBSCAN
  • Includes GLOSH outlier scores, soft clustering and robust single linkage
  • Joblib caching makes re-clustering with new parameters cheap

Weaknesses

  • Classical clustering library, not an LLM or generative AI tool
  • README still references Travis CI, nose and Python 2 support
  • Performance claims rest on external notebooks, including v0.7 benchmarks

What it needs

  • no GPU
  • Needs numpy, scipy, scikit-learn, cython

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#209coremltoolsPython converter from TensorFlow, PyTorch and scikit-learn models to Core ML5.5k starsBSD-3-Clause55 out of 100
#210highwayenvGymnasium environments for autonomous driving and tactical decision-making3.3k starsMIT55 out of 100
#212audioPyTorch library for audio loading, transforms, and datasets for ML3k starsBSD-2-Clause55 out of 100
#213mirage-project/mirageCompiler that fuses LLM inference into a single persistent CUDA megakernel2.6k starsApache-2.055 out of 100
#214gpflowGaussian process modelling library for Python built on TensorFlow1.9k starsApache-2.055 out of 100