nnmf_als {NMFN} | R Documentation |
Non-negative Matrix Factorization via alternating least squares
Description
Non-negative Matrix Factorization - alternating least squares method
Usage
nnmf_als(x, k, maxiter, eps)
Arguments
x |
original input matrix |
k |
number of factors / components |
maxiter |
max number of iterations |
eps |
small threshold value |
Value
W, H - returned decomposed matrices
Author(s)
Suhai (Timothy) Liu
Examples
X <- matrix(1:12, 3, 4)
results <- nnmf(X, 2, 'nnmf_als')
[Package NMFN version 2.0.1 Index]