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

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -