x-tabdeveloping / turftopic

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

Time slice fix #49

Closed x-tabdeveloping closed 3 weeks ago

x-tabdeveloping commented 3 weeks ago

Fixes #48 . Changes:

  1. First time slice now corresponds to the label 0 as intended.
  2. The number of temporal components is now len(bin_edges) - 1 as intended.
  3. The bin_timestamps function has been added to DynamicTopicModel as a static method. This way it doesn't have to be explicitly imported when implementing dynamic functionality for a model.