forum.alglib.net

ALGLIB forum
It is currently Mon Nov 25, 2024 9:40 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 11 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Levenberg–Marquardt algorithm help
PostPosted: Wed May 15, 2013 11:19 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
You don't have to modify ALGLIB source in oder to solve your problem. Create LM solver with 2 unknowns and 2*N functions, and set:
* F0 = W0*((f(x0,c)-Y0)
* F1 = Wcr.(Cr-C) for i=0
* F2 = W1*((f(x1,c)-Y1)
* F3 = Wcr.(Cr-C) for i=1
and so on.

LM algorithm will find minimum of the function F = F0^2 + F1^2 + F2^2 + F3^2 + ...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group