python - Scipy: difference between optimize.fmin and optimize.leastsq -


what's difference between scipy's optimize.fmin , optimize.leastsq? seem used in pretty same way in this example page. difference can see leastsq calculates sum of squares on own (as name suggest) while when using fmin 1 has manually. other that, 2 functions equivalent?

different algorithms underneath.

fmin using simplex method; leastsq using least squares fitting.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -