MaartenGr / MaartenGr/BERTopic

A metric is needed to reflect the quality of a model, just like the perplexity of LDA

Open
#2,421 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

### Have you searched existing issues? 🔎

- [x] I have searched and found no existing issues

### Desribe the bug

After clustering, I couldn't find any indicators to verify my clustering results, but the LDA topic model has indicators such as perplexity that can verify the quality of the model. I need the same indicator in BERTopic, or do you have any alternative methods? Thank you very much

### Reproduction

```python
from bertopic import BERTopic

```

### BERTopic Version

0.16.4

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

Start with the minimal BERTopic import shown in the reproduction and review how BERTopic currently exposes topic-model results. Compare the requested quality indicator with LDA perplexity and define what “quality” should measure for BERTopic before proposing an evaluation approach.

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
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.