Has anyone had any experience with the LevenbergMarquardt Algorithm in Xojo?

If so, is there anything you can share about your experiences?

[quote=278315:@Kem Tekinay]To save others the trouble…

https://en.m.wikipedia.org/wiki/LevenbergMarquardt_algorithm[/quote]

thanks!

Unfortunately, that Wikipedia article was obviously written for mathematicians by mathematicians. I’m afraid mere mortals aren’t going to get much out of it. I haven’t used LevenbergMarquardt, but I have worked on quite a few minimization problems and lots of data fitting. Since LevenbergMarquardt is a hybrid of Gradient Descent, I assume that you will have to calculate the derivative of the function that you are fitting/minimizing, which can be a nuisance.

It would help to know what your application is. Are you trying to find the minimum of some function, or are you trying to fit a curve to some experimental data?

This website at http://www.alglib.net/optimization/levenbergmarquardt.php has implementations in different languages - VBA among others. It shouldn’t be too difficult to adapt this implementation (insert famous last words).