[SciPy-user] memory error at leastsq
Sat Jun 14 04:26:21 CDT 2008
hi, help with memory error at leastsq
I am working with a model mathematic of mean squeared error, according to
the least square appproach, a solution is sought by minimizing
MSE(I,B) = (S1-(I*B))^2+ (S2-(I*B))^2 + (S3-(I*B))^2
where S1,S2,S3,I and B are matrix of k x l
and i work whit the optimize.leastsq of scipy, well, for k = 5 and l = 5
work fine, but for k=64 and l =64 scipy give me the next error
File: "c:\python25\lib....\minpack.py",line 268,in leastsq
my line code call is
xopt=optimize.leastsq(funcion,IB,args=(Sgen)) where Sgen is S1,S2,S3 at
order lexicografic and IB is I and B at order lexicografic.
so, my questions are : why happend it? and how am I solve it?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-user