NMFN-package | R Documentation |

Non-negative Matrix Factorization

Package: | NMFN |

Type: | Package |

Version: | 2.0 |

Date: | 2010-01-02 |

License: | GPL |

LazyLoad: | yes |

Suhai (Timothy) Liu <tim.liu@alumni.duke.edu> based on multiplicative updates (Lee and Seung 2001), alternating least squares and multinomial algorithms; Lars Kai Hansen's nnmf_als Matlab implementation; Torsten Hothorn's Moore-Penrose inverse function

Lee and Seung - Algorithms for non-negative matrix factorization. In Advances in Neural Information Processing Systems 13, 2001.

X <- matrix(1:12,3,4) z.mm <- nnmf(X,3) # 3 factors via multiplicative update z.als <- nnmf(X,3,'nnmf_als') # 3 factors via alternating least square z.prob <- nnmf(X,3,'nnmf_prob') # 3 factors via multinomial

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.