logLik-methods

0th

Percentile

Methods for Function logLik

Compute the log-likelihood.

Keywords
methods
Methods

object = TopicModel:
Compute the log-likelihood of a "TopicModel" object. For "VEM" objects the sum of the log-likelihood of all documents given the parameters for the topic distribution and for the word distribution of each topic is approximated using the variational parameters and underestimates the log-likelihood by the Kullback-Leibler divergence between the variational posterior probability and the true posterior probability.
object = Gibbs_list:
Compute the log-likelihoods of the "TopicModel" objects contained in the "Gibbs_list" object.

Aliases
  • logLik,TopicModel-method
  • logLik,Gibbs_list-method
Documentation reproduced from package topicmodels, version 0.2-4, License: GPL-2

Community examples

Looks like there are no examples yet.