From: Andreas Gros <agros@rz.uni-osnabrueck.de>
To: gsl-discuss@sources.redhat.com
Subject: Nonlinear Least Squares Fitting
Date: Wed, 19 Dec 2001 13:20:00 -0000 [thread overview]
Message-ID: <200111200858.fAK8w4f10486@omecihuatl.rz.uni-osnabrueck.de> (raw)
Hello,
I'd like to submit a "bug" in the solver:
gsl_multifit_fdfsolver_lmsder.
In the section "Providing the function to be minimized" where the
function gsl_multifit_function_fdf is described, you mention the
function f that should store the distance between the values
calculated by the algorithm and the provided values.
As I tested the algorithm I've found, that this distance is not taken
as a "square", instead the algebraic sign of the distance seems to be
of some importance. My results were quite different, whenever I took
(y[i]-Yi) instead of (Yi-y[i]) (as it is shown in the example).
Taking the latter the solver works fine, taking the first distance the
results have been quite funny.
Andreas Gros
Andreas Gros, Tel.: 0179-1062416
Lotter Str. 99, 49078 Osnabrück
Amalienstr. 8, 97072 Würzburg
http://www.gros-webdesign.de
WARNING: multiple messages have this Message-ID
From: Andreas Gros <agros@rz.uni-osnabrueck.de>
To: gsl-discuss@sources.redhat.com
Subject: Nonlinear Least Squares Fitting
Date: Fri, 16 Nov 2001 10:53:00 -0000 [thread overview]
Message-ID: <200111200858.fAK8w4f10486@omecihuatl.rz.uni-osnabrueck.de> (raw)
Message-ID: <20011116105300.G7liahsRy8MlZyWv5HJ4OAQO-IHS6WeTdr-PIK9Ekl4@z> (raw)
Hello,
I'd like to submit a "bug" in the solver:
gsl_multifit_fdfsolver_lmsder.
In the section "Providing the function to be minimized" where the
function gsl_multifit_function_fdf is described, you mention the
function f that should store the distance between the values
calculated by the algorithm and the provided values.
As I tested the algorithm I've found, that this distance is not taken
as a "square", instead the algebraic sign of the distance seems to be
of some importance. My results were quite different, whenever I took
(y[i]-Yi) instead of (Yi-y[i]) (as it is shown in the example).
Taking the latter the solver works fine, taking the first distance the
results have been quite funny.
Andreas Gros
Andreas Gros, Tel.: 0179-1062416
Lotter Str. 99, 49078 Osnabrück
Amalienstr. 8, 97072 Würzburg
http://www.gros-webdesign.de
next reply other threads:[~2001-12-19 13:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-19 13:20 Andreas Gros [this message]
2001-11-16 10:53 ` Andreas Gros
2001-12-19 13:20 ` Brian Gough
2001-11-16 14:39 ` Brian Gough
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200111200858.fAK8w4f10486@omecihuatl.rz.uni-osnabrueck.de \
--to=agros@rz.uni-osnabrueck.de \
--cc=gsl-discuss@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).