Skip to content

a webtask that performs an iterative optimization using Nelder Mead

Notifications You must be signed in to change notification settings

keitharobertson/optimization_webtask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nelder Mead Optimization

Synopsis

The Nelder Mead algorithm is an optimization algorithm that can be abstracted to any number of unknowns. This implementation of the algorithm allows for the minimization of any function with any number of unknowns. This has wide applicability for finding solutions to many problems.

Demo

One of the more powerful applications of Nelder Mead is for curve fitting. Least squares fit is a minimization problem that can be applied to any function. In this type of problem, you have a set of observed data points that you want to fit a target function to. As an example, let's say you have a set of data that is roughly quadratic- the target function is: ax2 + bx + c. In this case, there are 3 unknowns that need to be optimized: a, b, and c. The demo below allows the input of a JavaScript function to define the target function, as well as an initial guess at the unknowns and input data points.

Click here for a demonstration of Nelder Mead curve fitting.

Author

Keith Robertson

About

a webtask that performs an iterative optimization using Nelder Mead

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published