Skip to main content

Iterative clustering mechanism providing full coverage of the data.

Project description

Exhaustive HDBSCAN

HDBSCAN is a density based clustering technique that results in stable clusters. It is a modification of the basic DBSCAN algorithm and the hierarchical element comes from the splitting technique that proceeds in order of the density metric, i.e. the splits are performed as the density thresholds are reached sequentially. Consequently points within a threshold that do not qualify the cluster size criteria, are qualified as noise.

Since outputs of HDBSCAN clustering leaves out some points as noise, this can lead to loss of information. Exhaustive HDBSCAN addresses this shortfall by iteratively clustering the left over noise points at each level of iteration. The points left out as noise at each iteration are combined into their own density structure and clustered through their unique thresholding.

Typically, HDBSCAN is combined with a dimension reduction technique. Universal Manifold Approximation and Projection (UMAP) is more suited to the HDBSCAN as it preserves local neighborhood topology. This preserves the density structure while solidifying the separation boundaries.

With Exhaustive HDBSCAN, a new reduction is performed at each iteration. This leads to noise points forming their own unique density structure within which thresholding can separate clusters. Cluster size and minimum samples are adjusted iteratively to account for the reduced dataset size as iterations proceed.

Further when noise points from each iteration are reduced to form their unique density structure, these clusters can now be linked back to the clusters they originally fell out of. Exhaustive HDBSCAN caters for this by using a HDBSCAN-like density-based metric to assign parent-child links between clusters from previous iteration and current iteration. The resultant output is a tree of clusters.

Tests have found that as we move down this tree of clusters, the clusters become more sparse, but the meaning within them soldifies and becomes more precise.

Exhaustive HDBSCAN becomes an effective tool to extract structured meaning from large datasets in an unsupervised manner.

Lib is complete, but still writing and finalizing the docs. Git is available for use as is.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exhaustive_hdbscan-0.0.1.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exhaustive_hdbscan-0.0.1-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file exhaustive_hdbscan-0.0.1.tar.gz.

File metadata

  • Download URL: exhaustive_hdbscan-0.0.1.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for exhaustive_hdbscan-0.0.1.tar.gz
Algorithm Hash digest
SHA256 93e803433492dac8a3f77af9d4a128c6f6d7ef11c76c1d336c54897358361d2a
MD5 f451cbede9e73d7a8af6f997223b4c91
BLAKE2b-256 4e68232c32b3ce0732b5b0a76afb0e547ba871860d64abce2c8219db76d72e98

See more details on using hashes here.

File details

Details for the file exhaustive_hdbscan-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for exhaustive_hdbscan-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3fc9b98b37f3cba7024d31bd19f285586f5788c88a1286a3258c4aeda7c2542e
MD5 172dcf56ab5f243a5bcd4e2b22507b5d
BLAKE2b-256 174cfc0d76642978cf9fb912c2813b5bd13a4dd4d62caa7bf4a69a000c7270c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page