sparse matrix svd in python

tuesday picture tuesday · Jul 13, 2010 · Viewed 8.6k times · Source

Does anyone know how to perform svd operation on a sparse matrix in python? It seems that there is no such functionality provided in scipy.sparse.linalg.

Answer

Radim picture Radim · Oct 22, 2010

Sounds like sparsesvd is what you're looking for! SVDLIBC efficiently wrapped in Python (no extra data copies made in RAM).

Simply run "easy_install sparsesvd" to install.