MaartenGr / MaartenGr/BERTopic

Output of the visualize_distribution() for noise/outlier document

Open
#1,424 2 comments 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

Hello,
First of all thank you for publishing this powerful library!
My question is about the output barplot of the visualize_distribution() function. I am call it for a document that has been take the topic "-1" but the topic "-1" doesn't shown in the barplot. A different topic seems to have the highest probability instead of the "-1" topic. My thought is that maybe the chart shows the probabilities for the rest of the topics (those that are not "-1") but I didn't read that in the function documentation so I thought I'd write it here....
![Screenshot_20230723_150116](https://github.com/MaartenGr/BERTopic/assets/37142366/fb0bb61b-c5c7-46f1-9f12-5624c9c52109)

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 by reading the visualize_distribution() function and its documentation, then reproduce the reported output with a document assigned to topic "-1". Determine whether the barplot correctly represents the noise/outlier topic or whether the behavior needs correction or clearer documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.