Question

I am looking for a C# implementation of the Levenberg–Marquardt algorithm for non-linear least squares fit.

Was it helpful?

Solution

Levenberg-Marquardt.NET by Krzysztof Kniaz has worked very well for me.

OTHER TIPS

You might want to try csmpfit. It is open source.

Update:

The project has been moved to GitHub at https://github.com/cureos/csmpfit.

Here is an explanation article plus C# code:

http://www.imagingshop.com/articles/least-squares

It uses Math.NET Numerics for linear algebra to simplify the Levenberg-Marquardt algorithm.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top