nnmf_als: Non-negative Matrix Factorization via alternating least...

View source: R/NMFN_three_methods.R

nnmf_alsR 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')
  

NMFN documentation built on June 23, 2022, 9:11 a.m.