
Last chance! 50% off unlimited learning
Sale ends in
"TopicModel"
contains
call
:"call"
.Dim
:"integer"
; number of
documents and terms.control
:"TopicModelcontrol"
;
options used for estimating the topic model.k
:"integer"
; number of
topics.terms
:documents
:beta
:"matrix"
; logarithmized
parameters of the word distribution for each topic.gamma
:"matrix"
; parameters of
the posterior topic distribution for each document.iter
:"integer"
; the number of
iterations made.logLiks
:"numeric"
; the vector
of kept intermediate log-likelihood values of the corpus. See
loglikelihood
how the log-likelihood is determined.n
:"integer"
; number of words
in the data used.wordassignments
:"simple_triplet_matrix"
; most probable topic for each
observed word in each document."VEM"
contains
loglikelihood
:"numeric"
; the
log-likelihood of each document 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."LDA"
extends class "TopicModel"
and has the additional
slots
loglikelihood
:"numeric"
; the
posterior likelihood of the corpus conditional on the topic
assignments is returned.alpha
:"numeric"
; parameter of
the Dirichlet distribution for topics over documents."LDA_Gibbs"
extends class "LDA"
and has
the additional slots
seed
:NULL
or object of class
"simple_triplet_matrix"
; parameter for the prior
distribution of the word distribution for topics if seeded.z
:"integer"
; topic assignments
of words ordered by terms with suitable repetition within
documents."CTM"
extends class "TopicModel"
and has the additional
slots
mu
:"numeric"
; mean of the
topic distribution on the logit scale.Sigma
:"matrix"
;
variance-covariance matrix of topics on the logit scale."CTM_VEM"
extends classes "CTM"
and
"VEM"
and has the additional
slots
nusqared
:"matrix"
; variance of the
variational distribution on the parameter mu.