Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
For this particular example, Carlos algorithm spits out in < hart beat ! Thanks again Carlos, it will surely help revamp some/many of the GenfitMinimize. Jean Levenberg_Marquardt_Code_CBG Copy.sm (66kb) downloaded 42 time(s).
|
1 user thanked Jean Giraud for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 14/10/2015(UTC) Posts: 308
Was thanked: 77 time(s) in 58 post(s)
|
Hello Jean, The same example of the Levenberg Marquardt Algorithm, but obtaining the Jacobian Matrix through finite differences Levenberg_Marquardt_Code_CBG_Jean_JMFD.sm (78kb) downloaded 29 time(s).Best Regards Carlos
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: CBG Hello Jean, The same example of the Levenberg Marquardt Algorithm, but obtaining the Jacobian Matrix through finite differences Thanks, Carlos: works fine. More doctoring for you ! The work sheet "Otherwise" is only slightly otherwise for convenience, works fine. The "Jacobian Fails" is another model attempted, Jacobian complains ... Ah ! Same model Pharmacokinetics works fine Conjugate gradient Minimize. True: some model function can only be fitted by hand True: GenfitMinimze may be difficult to initialize but work fine for my huge collection [about 80 projects in Smath]. Cheers ... Jean Levenberg_Marquardt_Code_CBG Model Otherwise Jacobian FAILS.sm (36kb) downloaded 16 time(s). Genfit Pharmacokinetics.sm (44kb) downloaded 20 time(s). Levenberg_Marquardt_Code_CBG Model Otherwise.sm (54kb) downloaded 18 time(s).
|
1 user thanked Jean Giraud for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 14/10/2015(UTC) Posts: 308
Was thanked: 77 time(s) in 58 post(s)
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: CBG Hello Jean Here is the L-M file that works with your example. Thanks Carlos for doctoring. By some regrouping, timing dropped from 3.8 min down to 2.6 min. Niece Smath document for classroom and publishing. Jean Genfit Pharmacokinetics L-M Copy.sm (61kb) downloaded 20 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 14/10/2015(UTC) Posts: 308
Was thanked: 77 time(s) in 58 post(s)
|
Hi Jean Another example of the application of the Levenberg Marquardt algorithm, this time with the Tesla function. Levenberg_Marquard_Tesla_OK_CBG.sm (547kb) downloaded 20 time(s).Best Regards Carlos
|
2 users thanked CBG for this useful post.
|
on 27/09/2018(UTC), on 27/09/2018(UTC)
|
|
LM Algorithm !!
(Samples)
by shinavn
03/07/2019 11:03:43(UTC)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.