powered by
Non-negative Matrix Factorization - multinomial method
nnmf_prob(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, 5, 'nnmf_prob') # }
Run the code above in your browser using DataLab