poisson2multinom | R Documentation |
This function recovers parameter estimates of the multinomial topic model given parameter estimates for a Poisson non-negative matrix factorization (NMF).
poisson2multinom(fit)
fit |
An object of class “poisson_nmf_fit”, such as an
output from |
The return value is the list fit
, in which
fit$F
and fit$L
are the parameters of the multinomial
topic model; specifically, fit$L[i,]
gives the topic
probabilities for sample or document i, and fit$F[,k]
gives
the term probabilities for topic k. An additional vector
fit$s
of length n is returned giving the "size factors".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.