[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] converting old least-squares fit code to use gsl instead
Guido De Rosa
Re: [Help-gsl] converting old least-squares fit code to use gsl instead - fails miserably
Wed, 4 Feb 2009 11:28:17 +0100
try the simplex minimizers too. I found it more powerful for certain
functions.The only drawback is that you can't compute the covariance
matrix of the theoretical parameters.
Also, some experimentation may be required to find the optimal initial
I personally followed a twofold approach for a recent small program:
simplex first to find the minimum, then Levenberg-Marquardt to get
As far as it can help, here's my code (sorry, no autoconf: edit the
Makefile as you need....)
What matters for the current discussion is mainly in fit.c .
For the impatient, I also shared a screencast :-)