View source: R/NMFN_three_methods.R

nnmf_mm | R Documentation |

Non-negative Matrix Factorization - multiplicative update method

nnmf_mm(x, k, maxiter, eps)

`x` |
original input matrix |

`k` |
number of factors / components |

`maxiter` |
max number of iterations |

`eps` |
small threshold value |

W, H - returned decomposed matrices

Suhai (Timothy) Liu

Lee and Sung 2001

X <- matrix(1:12, 3, 4) results <- nnmf(X, 2) #which is equivalent to results <- nnmf(X, 2, 'nnmf_mm')

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.