NumPy error

Diez B. Roggisch deets at nospam.web.de
Sun Feb 5 12:22:01 EST 2006


>>>> from scipy.optimize import fmin
> Overwriting fft=<function fft at 0x012116F0> from scipy.fftpack.basic (was 
> <function fft at 0x011C8A70> from numpy.dft.fftpack)
> Overwriting ifft=<function ifft at 0x01211730> from scipy.fftpack.basic (was 
> <function inverse_fft at 0x011C8AB0> from numpy.dft.fftpack)
> 
> And then I get the following result:
> 
>>>> xopt = fmin(rosen, x0)
> Optimization terminated successfully.
>          Current function value: 0.000066
>          Iterations: 141
>          Function evaluations: 243
> 
>>>> print xopt
> [ 0.99910115  0.99820923  0.99646346  0.99297555  0.98600385]
> 
> Two questions:
> 1. does the "overwriting..." message make sense?
> I uninstalled scipy and numpy and re-installed them.

I get that too - and I have no clue what it means, but I consider it a 
left-over warning or something like that.

> 
> 2. has the algorithm (accuracy level) changed? the result seems different 
> from that reported in
> http://www.scipy.org/Wiki/Documentation?action=AttachFile&do=get&target=scipy_tutorial.pdf
> on page 12.

No idea.

Diez



More information about the Python-list mailing list