Description Usage Arguments Value
Poisson Matrix Factorization (using subject information)
1 | pmf_subject(X, u, K, init = NULL, maxiter = 100, verbose = FALSE, seed = 123)
|
X |
count matrix (dim(X) = c(n, p)). |
u |
vector encoding subject (length(u) = n; elements need to be from 1,..., length(unique(u))). |
K |
number of topics |
init |
Either NULL or |
seed |
only used when init is NULL |
list(L, F, log_liks)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.