[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] Levenberg-Marquardt misbehaves...

From: Joakim Hove
Subject: Re: [Help-gsl] Levenberg-Marquardt misbehaves...
Date: Thu, 24 Feb 2005 09:21:37 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux)

Federico Zenith <address@hidden> writes:

> How to I tell LM to stay away from the negative domain?

You could use squared parameters, i.e. if want to determine 'a' in
exp(-a*x) for strictly positive a, you could instead use a = b*b and
determine b. This guarantees that a = b*b is >= 0. Of course the _df
evaluations become slightly more involved in this way.

Good luck


Joakim Hove
hove AT ift uib no
Tlf: +47 (55 5)8 27 90 
Fax: +47 (55 5)8 94 40

reply via email to

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