$npx skillfedfor your agent

hdbscan

Clustering based on density with variable density clusters

Worth itPyPI Software DevelopmentReleased Jun 20263.0M downloads / moBSDPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — hdbscan-0.8.44-cp310-cp310-macosx_10_9_universal2.whl · hdbscan-0.8.44-cp310-cp310-macosx_15_0_x86_64.whl · hdbscan-0.8.44-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
v0.8.44 · released 2026-06-01 · Python >=3.10 · 4 runtime deps: numpy, scipy, scikit-learn, joblib

Yes. HDBSCAN is actively maintained, has no known vulnerabilities, works with current Python versions (3.10–3.14), and solves a real problem—automatic, parameter-light density-based clustering with variable cluster sizes. The medium install friction is manageable given prebuilt wheels. It is well-suited for exploratory clustering and outlier detection.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; compiled C extension requires a compatible build environment or prebuilt wheel for your platform.
  • Medium install friction due to compiled C components, but prebuilt wheels are available for Python 3.10, 3.11, 3.12, 3.13, and 3.14 on macOS, Linux, and Windows.
  • Maintenance is active with a recent release 74 days ago.

License · maintenance · safety

BSD (permissive) — BSD license is permissive, allowing use in commercial and proprietary projects with minimal restrictions beyond attribution.

last release 2026-06-01 (74 days) · last repo commit 2026-06-12 · 3,137 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,988,759 downloads/mo, #2,798 on PyPI

Verify before relying

pip install hdbscan

import hdbscan
from sklearn.datasets import make_blobs

data, _ = make_blobs(1000)
clusterer = hdbscan.HDBSCAN(min_cluster_size=10)
cluster_labels = clusterer.fit_predict(data)
  • Whether the package's soft clustering and cluster persistence scoring are suitable for your specific use case.
  • Performance characteristics on your dataset size and dimensionality compared to alternatives.
  • Compatibility with sparse matrix inputs beyond what the description explicitly confirms.
Same gist for agents: .md · .json

What it is and what it does

HDBSCAN is a clustering algorithm that extends DBSCAN by performing density-based clustering over varying epsilon values and integrating results to find stable clusters. Unlike DBSCAN, it handles clusters of different densities and is robust to parameter selection—the main tunable parameter, minimum cluster size, is intuitive to set. The package accepts arrays, dataframes, or sparse matrices of shape (num_samples x num_features), or distance matrices between samples, and depends on numpy, scipy, scikit-learn, and joblib.

Beyond basic clustering, HDBSCAN provides outlier detection via the GLOSH algorithm, visualization tools for cluster hierarchies and reachability distances, soft clustering with membership strengths, and cluster persistence scores indicating stability. It also includes a RobustSingleLinkage implementation and a BranchDetector for detecting branching structures in clusters. The implementation prioritizes performance.

Use it for

  • Exploratory data analysis on unlabeled datasets where cluster count and density are unknown.
  • Outlier detection by accessing outlier_scores_ after fitting to identify anomalous points.
  • Clustering with automatic parameter selection when you want to avoid extensive tuning.
  • Soft clustering assignments to understand cluster membership confidence for each point.
  • Detecting branching or hierarchical structures in cluster data using BranchDetector.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

HDBSCAN is actively maintained, has no known vulnerabilities, works with current Python versions (3.10–3.14), and solves a real problem—automatic, parameter-light density-based clustering with variable cluster sizes. The medium install friction is manageable given prebuilt wheels. It is well-suited for exploratory clustering and outlier detection.

Install

hdbscan on PyPI

Before you install

Medium install friction due to compiled C components, but prebuilt wheels are available for Python 3.10, 3.11, 3.12, 3.13, and 3.14 on macOS, Linux, and Windows. Maintenance is active with a recent release 74 days ago.

Requires Python 3.10 or later; compiled C extension requires a compatible build environment or prebuilt wheel for your platform.

License in practice

BSD license is permissive, allowing use in commercial and proprietary projects with minimal restrictions beyond attribution.

Quickstart

pip install hdbscan

import hdbscan
from sklearn.datasets import make_blobs

data, _ = make_blobs(1000)
clusterer = hdbscan.HDBSCAN(min_cluster_size=10)
cluster_labels = clusterer.fit_predict(data)

Verify before relying

  • Whether the package's soft clustering and cluster persistence scoring are suitable for your specific use case.
  • Performance characteristics on your dataset size and dimensionality compared to alternatives.
  • Compatibility with sparse matrix inputs beyond what the description explicitly confirms.

Package facts

LicenseBSD permissive
Python supportSupports the current Python release >=3.10
Install frictionMedium. Platform-specific wheel
Runtime dependencies
4 packages
numpyscipyscikit-learnjoblib
MaintenanceActively maintained 74 days since the last release
Last repo commit
First released
Downloads2,988,759 / month, #2,798 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI ApprovedOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: CProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: Software Development

Evidence: hdbscan-0.8.44-cp310-cp310-macosx_10_9_universal2.whl; hdbscan-0.8.44-cp310-cp310-macosx_15_0_x86_64.whl; hdbscan-0.8.44-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; hdbscan-0.8.44-cp310-cp310-win_amd64.whl; hdbscan-0.8.44-cp311-cp311-macosx_10_9_universal2.whl; hdbscan-0.8.44-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; hdbscan-0.8.44-cp311-cp311-win_amd64.whl; hdbscan-0.8.44-cp312-cp312-macosx_10_13_universal2.whl; hdbscan-0.8.44-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; hdbscan-0.8.44-cp312-cp312-win_amd64.whl; hdbscan-0.8.44-cp313-cp313-macosx_10_13_universal2.whl; hdbscan-0.8.44-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; hdbscan-0.8.44-cp313-cp313-win_amd64.whl; hdbscan-0.8.44-cp314-cp314-macosx_10_15_universal2.whl; hdbscan-0.8.44-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; hdbscan-0.8.44-cp314-cp314-win_amd64.whl

Tags

Capabilities
density-based clustering algorithmhierarchical clustering with variable densityautomatic parameter-free clusteringoutlier detection clusteringDBSCAN alternativeexploratory data analysis clusteringrobust single linkage clustering
Topics
clusteringdensity-basedoutlier-detection
PyPI keywords
clusterclusteringdensityhierarchical

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “density-based clustering algorithm”

  • hdbscanHDBSCAN performs hierarchical density-based clustering that…
  • kmodesImplements k-modes and k-prototypes clustering algorithms for…
  • bertopicBERTopic performs topic modeling on text documents using transformer…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also fastcluster · kmodes · k-means-constrained · bertopic · umap-learn · phik · cuvs-cu12 · libcuvs-cu12 · pyspark-hnsw · splink

Further reading