MaartenGr / MaartenGr/BERTopic
Issue Warning when plotting MDS with two few topics
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.8k
- Forks
- 920
- Avg merge
- 22h 24m
- Merged PRs (30d)
- 5
Description
### Feature request
I propose having a nice explainable warning that informs the user one cannot plot MDS with insufficient number of topics.
### Motivation
The issue was opened many times: #1914, #1010, #725, #378. This means people get confused by the original error. Having an integrated error issued after a check on the number of topics in the topic model would be beneficial.
### Your contribution
I looked into the code, but honestly didn't know where such a warning would be most appropriate and how to format it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name a file, test, or entry point. Start by locating the MDS plotting path in BERTopic and the existing handling for too few topics, then identify where the explanatory warning should be checked and documented. Done means insufficient-topic input produces a clear warning instead of the original confusing error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization, machine-learning
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100