MaartenGr / MaartenGr/BERTopic

Consensus Clustering

Open
#1,518 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.8k
Forks
920
Avg merge
22h 24m
Merged PRs (30d)
5

Description

Consensus Clustering is an important aspect when it comes to using any clustering method in production. I don't want my users facing a set of new clusters each time deploying the pipeline.
You have suggested fixating UMAP random seeds to stabilise the clusters. But in practice how can we trust a single randomly picked random seed, while running it with another random seed generates a set of new clusters, and assigns docs to different clusters? This behaviour even escalates more by changing other UMAP, HDBSCAN parameters.

Since there are no alternative clustering measures for un-supervised topic modeling, shouldn't there exist a Consensus Clustering framework, where we can assign docs that are falling together all the time, to a final cluster?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by reviewing how UMAP and HDBSCAN parameters affect the clustering pipeline, then define how consensus across runs should assign documents to final clusters and how that result would be validated.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.