Levenberg-Marquardt non-linear least-squares fitting in Python

Madhavan Bomidi blmadhavan at gmail.com
Thu Mar 28 07:54:31 EDT 2019


Hi,

I have x and y variables data arrays. These two variables are assumed to be related as y = A * exp(x/B). Now, I wanted to use Levenberg-Marquardt non-linear least-squares fitting to find A and B for the best fit of the data. Can anyone suggest me how I can proceed with the same. My intention is to obtain A and B for best fit.

Look forward to your suggestions and sample code as an example.

Thanks and regards,
Madhavan



More information about the Python-list mailing list