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
I am not interested in how topics are distributed over different documents. I just simply want to extract the main topics per document.
I know that the pd.DataFrame(model.groups_[1]['p_tw_d'], columns=titles) gives a matrix with how much each topic correspond per document, but this topic is based on words from all the documents....
Any suggestions?
The text was updated successfully, but these errors were encountered:
Can I also run topSBM on a single document?
I am not interested in how topics are distributed over different documents. I just simply want to extract the main topics per document.
I know that the pd.DataFrame(model.groups_[1]['p_tw_d'], columns=titles) gives a matrix with how much each topic correspond per document, but this topic is based on words from all the documents....
Any suggestions?
The text was updated successfully, but these errors were encountered: