help-gsl
[Top][All Lists]
Advanced

[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


From: Martin Sperl
Subject: Re: [Help-gsl] converting old least-squares fit code to use gsl instead - fails miserably
Date: Thu, 05 Feb 2009 12:25:58 +0100
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Thank's!

Will have a more detailed look into it.

Martin

Guido De Rosa wrote:
Martin,

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
step size.

I personally followed a twofold approach for a recent small program:
simplex first to find the minimum, then Levenberg-Marquardt to get
some statistics.

As far as it can help, here's my code (sorry, no autoconf: edit the
Makefile as you need....)

http://www.studenti.unina.it/~gcderosa/scanning-tunneling/dIdVsuperc.tar.gz

What matters for the current discussion is mainly in fit.c .

For the impatient, I also shared a screencast :-)

http://youtube.com/watch?v=LLLq7-0DivI

HTH,
Guido


_______________________________________________
Help-gsl mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-gsl





reply via email to

[Prev in Thread] Current Thread [Next in Thread]