[SciPy-User] PCA for sparse matrices, tolerance of eigenvalues

Jaidev Deshpande deshpande.jaidev at gmail.com
Wed Feb 23 23:28:00 EST 2011


Dear all,

I tried using the 'scipy.sparse.eigs' tool for performing principal
component analysis on a matrix which is roughly 80% sparse.

First of all, is that a good way to go about it?

Second, the operation failed when the function failed to converge on
accurate eigenvalues. I noticed the 'tol' attribute in the function, but how
does one define a reasonable tolerance and calculate it?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110224/99864cd4/attachment.html>


More information about the SciPy-User mailing list