Skip to content

Can a dynamic topic model be saved too? #931

Answered by MaartenGr
DominikMann asked this question in Q&A
Discussion options

You must be logged in to vote

When you run .topics_over_time the model is not internally saving information with respect to the dynamic topic model but returns all information you need as a dataframe. In other words, when you run the following:

topics_over_time = topic_model.topics_over_time(tweets, timestamps, nr_bins=20)

The information with respect to the dynamic nature of topics is contained in the DataFrame topics_over_time. This means that you would only need to save topics_over_time as a csv locally and pass it later on to .visualize_topics_over_time.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DominikMann
Comment options

Answer selected by DominikMann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants