Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Levenberg–Marquardt algorithm
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Example== [[Image:Lev-Mar-poor-fit.png|thumb|Poor fit]] [[Image:Lev-Mar-better-fit.png|thumb|Better fit]] [[Image:Lev-Mar-best-fit.png|thumb|Best fit]] In this example we try to fit the function <math>y = a \cos\left (bX\right ) + b \sin\left (aX\right )</math> using the Levenberg–Marquardt algorithm implemented in [[GNU Octave]] as the ''leasqr'' function. The graphs show progressively better fitting for the parameters <math>a = 100</math>, <math>b = 102</math> used in the initial curve. Only when the parameters in the last graph are chosen closest to the original, are the curves fitting exactly. This equation is an example of very sensitive initial conditions for the Levenberg–Marquardt algorithm. One reason for this sensitivity is the existence of multiple minima — the function <math>\cos\left (\beta x\right )</math> has minima at parameter value <math>\hat\beta</math> and <math>\hat\beta + 2n\pi</math>.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)