How to save the output? I am using the following code:
%time lda1 = models.LdaModel(corpus1, num_topics=20, id2word=dictionary1, update_every=5, chunksize=10000, passes=100)
How to save the output? I am using the following code:
%time lda1 = models.LdaModel(corpus1, num_topics=20, id2word=dictionary1, update_every=5, chunksize=10000, passes=100)
To export topic mixtures of each document to a csv file:
To export the top words for each topic to a csv file:
The CSV file will have the following format