本文介绍了有没有好的库可以快速进行非负矩阵分解(NMF)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个形状为 570000 * 3000 的稀疏矩阵.我尝试 nima 进行NMF(使用默认的nmf方法,并将max_iter设置为65).但是,我发现nimfa非常慢.有没有人使用更快的库来做NMF?

I have a sparse matrix whose shape is 570000*3000. I tried nima to do NMF (using the default nmf method, and set max_iter to 65). However, I found nimfa very slow. Have anyone used a faster library to do NMF?

推荐答案

我使用了 之前.它是用C编写的,非常快. 论文记录了算法和代码

I have used libNMF before. It's written in C and is very fast. There is a paper documenting the algorithm and code.

本文还列出了NMF的几种替代软件包(以多种不同的语言(我已在此处复制以供将来参考).

The paper also lists several alternative packages for NMF (in bunch of different languages (which I have copied here for future reference).

09-25 07:36