LM Algorithm

LM Algorithm - LM Algorithm - Сообщения

#1 Опубликовано: 16.09.2018 18:14:14
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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 (65 КиБ) скачан 84 раз(а).
1 пользователям понравился этот пост
Andrey Ivashov 26.09.2018 18:15:00
#2 Опубликовано: 18.09.2018 17:24:56
CBG

CBG

77 сообщений из 312 понравились пользователям.

Группа: User

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 (77 КиБ) скачан 76 раз(а).


Best Regards

Carlos
#3 Опубликовано: 20.09.2018 11:23:37
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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 (35 КиБ) скачан 65 раз(а).
Genfit Pharmacokinetics.sm (43 КиБ) скачан 69 раз(а).
Levenberg_Marquardt_Code_CBG Model Otherwise.sm (53 КиБ) скачан 64 раз(а).
1 пользователям понравился этот пост
Andrey Ivashov 26.09.2018 18:15:00
#4 Опубликовано: 20.09.2018 12:04:20
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

More doctoring for you !



Jacobian is rescued but does not finish solving
... God does not love Jacob anymore !

Levenberg_Marquardt_Code_CBG Model Otherwise Jacobian NOT calc.sm (39 КиБ) скачан 61 раз(а).
#5 Опубликовано: 20.09.2018 23:24:19
CBG

CBG

77 сообщений из 312 понравились пользователям.

Группа: User

Hello Jean
Here is the L-M file that works with your example.

Levenberg_Marquardt_JMFD_CBG.sm (53 КиБ) скачан 67 раз(а).

L_M_JMDF_OK_Example_Jean.png


Best Regards

Carlos
#6 Опубликовано: 21.09.2018 16:50:22
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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 (60 КиБ) скачан 65 раз(а).
#7 Опубликовано: 26.09.2018 18:03:04
CBG

CBG

77 сообщений из 312 понравились пользователям.

Группа: User

Hi Jean
Another example of the application of the Levenberg Marquardt algorithm,
this time with the Tesla function.


L_M_Tesla_Function_OK.png
Levenberg_Marquard_Tesla_OK_CBG.sm (546 КиБ) скачан 65 раз(а).




Best Regards
Carlos
2 пользователям понравился этот пост
Andrey Ivashov 26.09.2018 18:15:00, NDTM Amarasekera 26.09.2018 23:02:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений