pacodelumberg
pacodelumberg

Reputation: 2274

Which optimization algorithm does scipy.optimize.leastsq use?

Does anyone know which optimization algorithm specifically is implemented in scipy.optimize.leastsq?

Upvotes: 2

Views: 1415

Answers (1)

Trott
Trott

Reputation: 70055

According to the documentation:

“leastsq” is a wrapper around MINPACK’s lmdif and lmder algorithms.

So (as @tillsten points out) that’s a Levenberg–Marquardt implementation.

Upvotes: 8

Related Questions