View source: R/NMFN_three_methods.R

nnmf_prob | R Documentation |

Non-negative Matrix Factorization - multinomial method

nnmf_prob(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

X <- matrix(1:12, 3, 4) results <- nnmf(X, 5, 'nnmf_prob')

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.