Which optimization algorithm does scipy.optimize.leastsq use?
-
28-03-2021 - |
Question
Does anyone know which optimization algorithm specifically is implemented in scipy.optimize.leastsq?
Solution
According to the documentation:
“leastsq”
is a wrapper around MINPACK’slmdif
andlmder
algorithms.
So (as @tillsten points out) that’s a Levenberg–Marquardt implementation.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow