You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Theoretically the model descriptions above should result in the same behaviour as the other two packages, but there might be minor changes in implementation.
189
189
We do not intend to keep up with changes in Top2Vec's and BERTopic's internal implementation details indefinitely.
190
190
191
+
### _(Optional)_ 5. Dynamic Modeling
192
+
193
+
Clustering models are also capable of dynamic topic modeling. This happens by fitting a clustering model over the entire corpus, as we expect that there is only one semantic model generating the documents.
194
+
To gain temporal representations for topics, the corpus is divided into equal, or arbitrarily chosen time slices, and then term importances are estimated using Soft-c-TF-IDF, c-TF-IDF, or distances from cluster centroid for each of the time slices separately. When distance from cluster centroids is used to estimate topic importances in dynamic modeling, cluster centroids are computed based on documents and terms present within a given time slice.
Copy file name to clipboardExpand all lines: docs/dynamic.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Dynamic topic models in Turftopic have a unified interface.
28
28
To fit a dynamic topic model you will need a corpus, that has been annotated with timestamps.
29
29
The timestamps need to be Python `datetime` objects, but pandas `Timestamp` object are also supported.
30
30
31
-
Models that have dynamic modeling capabilities have a `fit_transform_dynamic()` method, that fits the model on the corpus over time.
31
+
Models that have dynamic modeling capabilities (currently, `GMM` and `ClusteringTopicModel`) have a `fit_transform_dynamic()` method, that fits the model on the corpus over time.
0 commit comments