[Tutor] PCA on sparse matrices, tolerance of eigenvalues
Jaidev Deshpande
deshpande.jaidev at gmail.com
Wed Feb 23 20:30:41 CET 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.python.org/pipermail/tutor/attachments/20110224/a2b980e8/attachment.html>
More information about the Tutor
mailing list