minpts-check: one-run predictor tells if your HDBSCAN clusters survive min_samples changes

leland_mcinnes · x · 2026-11-12

A new MIT-licensed GitHub tool, minpts-check, answers whether your HDBSCAN clustering survives a small change of minsamples. It computes an shat statistic flagging at-risk clusters (those likely to fall below the next minclustersize) and provides a certificate — a sufficient condition checked from a single run — under which raising minsamples provably changes no labels outside an explicit set of points. Works with sklearn's HDBSCAN and the hdbscan package, installable via pip. Implements checks from the not-yet-peer-reviewed Coutinho (2026) preprint; retweeted by HDBSCAN co-author Leland McInnes.

Original post →

More from coding & agent

coding & agent channel →