Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
gensim の lda モデルをトレーニングした後、次の方法で、目に見えないドキュメントのトピックを取得できることがわかっています。
lda = LdaModel(corpus, num_topics=10) doc_lda = lda[doc_bow]
しかし、すでにトレーニングに使用されているドキュメントはどうでしょうか? 新しいドキュメントのように扱わずに、トレーニングで使用されたコーパス内のドキュメントのトピックを取得する方法はありますか?