The dampened Hessian with the identity matrix is the original form.
The one with the Hessian diagonal is the "improved" method.
Refer to the last paragraphs of this Wikipedia section for the exact references:
https://en.wikipedia.org/wiki/Levenberg%E2%80%93Marquardt_algorithm#The_solution
Best,
JL
>> as described in Prof. Dellaert's book about factor graphs. However, in a simplified case where there is only one factor graph which contains only one factor, the 'Delta' does not seem so, as the screenshot shows:
>>
>> When the Jacobian is 86.91, and b is 124.96, lambda = 1000, noise sigma=1.0, the delta calculated is -1.26966, but the formula above should give 0.001436.
>> The code is used to optimize a simple 1D function:
>> x^3 + sin(x) + cos(3x^2)
>> without constraints, and is initialized at x=5.This screenshot can be reproduced from the cpp file attached.
>>
>> Considering that LM is so fundamental in gtsam, I suppose there is more likely to be something wrong in my understanding. Any help would be appreciated! Thanks!
>>
>> Best,
>> Sen
>>
>> --
>> You received this message because you are subscribed to the Google Groups "gtsam users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to
gtsam-users...@googlegroups.com.
>> To view this discussion on the web visit
https://groups.google.com/d/msgid/gtsam-users/a341e730-cd41-4e34-b6b5-a43f39af31can%40googlegroups.com.
>
> --
> You received this message because you are subscribed to the Google Groups "gtsam users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
gtsam-users...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/gtsam-users/dc92782d-2e48-45c6-b683-0e99350c73a7n%40googlegroups.com.
--
/**
* Jose Luis Blanco-Claraco
* Universidad de Almería - Departamento de Ingeniería
* [Homepage](
https://w3.ual.es/~jlblanco/ )
* [GH profile](
https://github.com/jlblancoc )
*/