Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom labels on visualize_topics(), visualize_hierarchy() #976

Closed
dschwalm opened this issue Feb 2, 2023 · 1 comment
Closed

custom labels on visualize_topics(), visualize_hierarchy() #976

dschwalm opened this issue Feb 2, 2023 · 1 comment

Comments

@dschwalm
Copy link
Contributor

dschwalm commented Feb 2, 2023

Some visualize* methods support custom topic labels, others don't.
I would like to see my custom labels using the two methods in the subject.
Any plans to add this option to these two?

Thanks,
Daniel

@MaartenGr
Copy link
Owner

visualize_hierarchy can be a bit more complex due to the new topics that are created which might be confusing on the API level if you can only pass the lower-level labels, in contrast to all other visualizations. Custom labels will be added for .visualize_topics.

MaartenGr added a commit that referenced this issue Feb 9, 2023
@MaartenGr MaartenGr mentioned this issue Feb 9, 2023
MaartenGr added a commit that referenced this issue Feb 14, 2023
* Add representation models
  * bertopic.representation.KeyBERTInspired
  * bertopic.representation.PartOfSpeech
  * bertopic.representation.MaximalMarginalRelevance
  * bertopic.representation.Cohere
  * bertopic.representation.OpenAI
  * bertopic.representation.TextGeneration
  * bertopic.representation.LangChain
  * bertopic.representation.ZeroShotClassification
* Fix topic selection when extracting repr docs
* Improve documentation, #769, #954, #912
* Add wordcloud example to documentation
* Add title param for each graph, #800
* Improved nr_topics procedure
* Fix #952, #903, #911, #965. Add #976
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants