powered by
Non-negative Matrix Factorization - multiplicative update method
nnmf_mm(x, k, maxiter, eps)
original input matrix
number of factors / components
max number of iterations
small threshold value
W, H - returned decomposed matrices
Lee and Sung 2001
# NOT RUN { X <- matrix(1:12, 3, 4) results <- nnmf(X, 2) #which is equivalent to results <- nnmf(X, 2, 'nnmf_mm') # }
Run the code above in your browser using DataLab