powered by
Non-negative Matrix Factorization - alternating least squares method
nnmf_als(x, k, maxiter, eps)
original input matrix
number of factors / components
max number of iterations
small threshold value
W, H - returned decomposed matrices
# NOT RUN { X <- matrix(1:12, 3, 4) results <- nnmf(X, 2, 'nnmf_als') # }
Run the code above in your browser using DataLab