sparse matrix svd in python

后端 未结 4 2106
生来不讨喜
生来不讨喜 2020-12-29 16:21

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.

4条回答
  •  粉色の甜心
    2020-12-29 17:11

    You can use the Divisi library to accomplish this; from the home page:

    • It is a library written in Python, using a C library (SVDLIBC) to perform the sparse SVD operation using the Lanczos algorithm. Other mathematical computations are performed by NumPy.

提交回复
热议问题