Clarification on find_topics() #1789
-
I'm trying to detect some topics for a set of documents. My document is a list and it contains a combination of both words and sentences. When i change my document order, I'm getting different outputs from find_topics() method. This is how my documents list looks like: Version 1: Version 2: This is how I fetch the topics: Can anyone help me to find why I'm getting two different set of topics when i input version1 & version2 as docs in to find_topics() method please ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
|
Beta Was this translation helpful? Give feedback.
It depends on what you mean with suitable but generally, you could predict the distribution of topics, using
.transform
, of each document and then aggregate these probabilities over the entire corpus. That way, you could the top n most probable topics across the entire corpus.