Description Usage Arguments Details Value
NNDSVD with multiple methods for handling zeros
1 | nndsvd(A, k, method = "nndsvdar")
|
A |
sparse matrix |
k |
rank |
method |
One of "nndsvd", "nndsvda", or "nndsvdar" (default). See details. |
Several methods are available for handling zeros:
nndsvd: Leave zero values as zero
nndsvda: Replace zero values with the mean of u or v
nndsvdar: Replace zero values with positive random values in the range (0.01 * mean, 1 * mean)
Armadillo SpMat truncated svd is used
list of components:
W: nndsvd result for feature loadings
H: nndsvd result for sample factors
u: initial svd result for U
v: initial svd result for v
d: initial svd result for d
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.