Skip to content

Example of the use of the Levenberg-Marquardt algorithm as implemented in Python by the leastsq function scipy.optimize

Notifications You must be signed in to change notification settings

dsstutts/LMTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LMTest

Example of the use of the Levenberg-Marquardt algorithm as implemented in Python by the leastsq function from scipy.optimize. Also included is expdatgen.py, which generates a data file, data.txt, containing tab-delimited x,y data generated by the function: F(x) = 0.625 + 1.33exp(-0.5x).

LMTest.py is then invoked to estimate the paramters a, b, c, for F(x) = a + bexp(cx). The estimated parameters are printed to std-out, and the data and modal are plotted with the plot annotated with the standard error.

About

Example of the use of the Levenberg-Marquardt algorithm as implemented in Python by the leastsq function scipy.optimize

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages