<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div></div><div><br></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> santhu kumar <mesanthu@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> numpy-discussion@scipy.org<br><b><span style="font-weight: bold;">Sent:</span></b> Tue, June 28, 2011 11:56:48 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [Numpy-discussion] SVD does not converge<br></font><br>Hello,<br><br>I have a 380X5 matrix and when I am calculating pseudo-inverse of the matrix using pinv(numpy.linalg) I get the following error message:<br><br>raise LinAlgError, 'SVD did not
converge'<br>numpy.linalg.linalg.LinAlgError: SVD did not converge<br>
<br clear="all">I have looked in the list that it is a recurring issue but I was unable to find any solution. Can somebody please guide me on how to fix that issue?<br><br>Thanks<br>Santhosh<br>==============================================
</div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><br></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>I had a similar problem (although I wasn't looking for the pseudo inverse). I found that "squaring" the matrix fixed the problem. But I'm guessing in your situation that would mean a 380 x 380 matrix (I hope I'm thinking about your case correctly). But it's worth trying since it's easy to do.<br> </div>-- Lou Pecora, my views are my own.<div><br></div></div></div><div style="position:fixed"></div>
</div></body></html>