x-tabdeveloping / turftopic

Robust and fast topic models with sentence-transformers.
https://x-tabdeveloping.github.io/turftopic/
MIT License
17 stars 4 forks source link

Automatic binning in Dynamic KeyNMF using change point detection #55

Open x-tabdeveloping opened 3 months ago

x-tabdeveloping commented 3 months ago

It's mildly inconvenient that users have to define time bins ahead of time. This could be resolved by detecting change points in topic proportions in the document-topic-matrix using change point detection methods. I was thinking about using the ruptures Python package for this as they have a very nice and simple API and good documentation. Could also be potentially implemented in the other models, but I would prefer to stick to KeyNMF for now.