MaartenGr / BERTopic

Leveraging BERT and c-TF-IDF to create easily interpretable topics.
https://maartengr.github.io/BERTopic/
MIT License
6.21k stars 767 forks source link

Convex hulls? #1773

Open sdspieg opened 10 months ago

sdspieg commented 10 months ago

Has anybody played with convex hulls? Colorful convex hulls of clusters_labels of nodes shows corresponding cluster ID There are actually quite a few more visual elements that a program like CiteSpace has for visualizing topics (of bibliometric datasets) that would IMO be great additions to BERTopic vizzes as well. For more inspiration, see here

MaartenGr commented 10 months ago

Something like this would be very much a welcome feature. Especially if we can integrate it with the current set of dependencies, that's generally the tricky part. I think it might be possible with a combination of scipy's implementation of convexhulls as well as some custom Plotly code. It would, however, be mostly from scratch and advanced features might be missing.

sdspieg commented 10 months ago

"Mostly From scratch" and "with limited features" is mostly how beautiful things start! Think of BERTopic initially and BERTopic now. Upward and onward! :)