Revising Levenberg Marquardt Method

Revising Levenberg Marquardt Method - Revising the Levenberg Marquardt Method with finite differences - Messaggi

#21 Pubblicato: 21/01/2020 11:22:35
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Carlos, my dear friend,
SS 6179 has found his Waterloo from your latest LM algo style,
but works fine from your original [2018] piece wise.
Seemingly the matter is some numerical issue,
but couldn't doctor that poisoned patient.
You know: can't doctor a stone ... too dead for too long !
No more worry, all the fits in my collection are done.
Still, LM is interesting.
Cheers ... Jean, take care and always be good.

Unsolved LM SS 6179.sm (134,06 KiB) scaricato 1366 volta(e).
#22 Pubblicato: 22/01/2020 00:09:44
CBG

CBG

78 apprezzamenti in 312 post.

Gruppo: User

Dear friend Jean.
The problem in the calculation of the second LM algorithm in SS6179
occurs in the calculation of the Jacobian matrix for finite differences,
since in this step, after several iterations, for over unknown reasons an
overflow error occurs (possibly a calculation engine error ).
I have slightly modified the LMSA function and I have been able to solve the
problem indicated with 4 data. The solution that uses all the data is not possible in SS6179.

Solve_LMSA_SS6179.png

Solved LM SS 6179.sm (147,18 KiB) scaricato 1359 volta(e).


I hope you feel comfortable with this.


Best Regards

Carlos
1 utenti hanno apprezzato questo post
frapuano 22/01/2020 12:46:00
#23 Pubblicato: 22/01/2020 12:23:25
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

I hope you feel comfortable with this.


Thanks Carlos for doctoring LMSA SS 6179.
You are right: some numerical issues between versions.
That was most noticed between the two SS 5346 Official
and SS 5346 UNofficial ... this version cured all "Official"
Included in the next Compendium Genfit Classroom Essentials
Cheers ... Jean

Genfit_11 Pharmacokinetics LMSA ... LM.sm (76,67 KiB) scaricato 1321 volta(e).
#24 Pubblicato: 23/01/2020 13:31:42
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Hola, Carlos.
These two reconciliations [piecewise/global] work fine.
Will test more on hard fit.
Cheers ... Jean ... Thanks

Genfit_11 Pharmacokinetics LMSA ... [Carlos 2020].sm (50,36 KiB) scaricato 1198 volta(e).
Genfit_12 Pharmacokinetics LM ... [Carlos 2018].sm (43,47 KiB) scaricato 1161 volta(e).
#25 Pubblicato: 24/01/2020 17:29:39
CBG

CBG

78 apprezzamenti in 312 post.

Gruppo: User

Wrote

Hola, Carlos.
These two reconciliations [piecewise/global] work fine.
Will test more on hard fit.
Cheers ... Jean ... Thanks



Hola Jean.

Thank you

Excellent job, it was possible to put the rattle on the cat!
but maybe it's time to migrate to the next version of SS.

Best Regards

Carlos
  • Nuovi post
  • Nessun nuovo post