View source: R/MCEM - DirBer.R
1 2 | mmle_dirber_mcem(V, initW, alpha = 1, maxiters = 100, nsamples = 50,
burnin = 0.5)
|
V |
matrix to be factorized |
maxiters |
maximum number of iterations |
nsamples |
number of samples per iteration in the E-step |
K |
number of latent factors (or dimensions) |
W |
initial matrix W |
mc |
mcem or saem. |
The number of iterations is set to maxiters. In the future, there should be a convergence check in case the KL converges before maxiters.
W last estimator of W W_traces a K x samples - matrix vector with the evolution of row norms
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.