View source: R/KL-NMF_Lee_Seung.R
1 | nmf_Lee(V, K, W, H, maxiters = 100)
|
V |
matrix to factorize |
K |
number of latent factors (or dimensions) |
W |
initial W matrix |
H |
initial H matrix |
maxiters |
maximum number of iterations |
The number of iterations is set to maxiters. In the future, there should be a convergence check in case the KL converges before maxiters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.