BERTopic icon indicating copy to clipboard operation
BERTopic copied to clipboard

FEATURE: Add interactive DataMapPlot

Open dkapitan opened this issue 11 months ago • 4 comments

https://github.com/MaartenGr/BERTopic/pull/1750/files# has integrated static datamapplot. The code base could be extended to support interactive datamapplots

dkapitan avatar Mar 03 '24 15:03 dkapitan

That's awesome.

Btibert3 avatar Mar 03 '24 22:03 Btibert3

That definitely would be nice to implement. I'm wondering whether it could be done using the .visualize_document_datamap and simply add an interactive parameter of sorts or whether it deserves a separate function. @lmcinnes You by chance have any idea what would be best here?

MaartenGr avatar Mar 18 '24 10:03 MaartenGr

I think you can probably just add an interactive parameter, and have not too many other changes. It may be worth adding a few extra keyword parameters, specific to the interactive plot, that will be ignored if interactive is not True just to expose them in the API/docstring. I think enable_search would be the prime candidate, but there may be others.

lmcinnes avatar Mar 18 '24 16:03 lmcinnes

thanks for the suggestion @lmcinnes. I will put this on my next item to pick up, @MaartenGr

dkapitan avatar Mar 18 '24 16:03 dkapitan