gensim.models.LdaModel.bound¶
-
LdaModel.
bound
(corpus, gamma=None, subsample_ratio=1.0)[source]¶ Estimate the variational bound of documents from corpus: E_q[log p(corpus)] - E_q[log q(corpus)]
gamma are the variational parameters on topic weights for each corpus document (=2d matrix=what comes out of inference()). If not supplied, will be inferred from the model.