non linear least squares problem using BFGS
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I need to find solution to a non linear least squares problem using Gauss-Newton method, however I am only able to compute Jacobian matrix for a simple model, so I need to use updating methods like BFGS instead full Jacobian computation. Does anybody know how to solve this problem using Matlab?
Thanks
2 comentarios
Matt J
el 21 de En. de 2013
Editada: Matt J
el 21 de En. de 2013
That sounds like it could have doubtful convergence properties. Gauss-Newton is already not guaranteed to converge, even in its pure form with the exact Jacobian. Seems like using an approximate Jacobian might only make things worse. If Benji's answer doesn't work for you (because it's not Gauss-Newton), maybe you could elaborate on why Gauss-Newton is your only option.
Respuesta aceptada
Shashank Prasanna
el 21 de En. de 2013
Do you want to code this yourself or is it OK to use something that comes with MATLAB?
For the FMINUNC function in the Optimization Toolbox, if set the Algorithm to Medium Scale it will use BFGS Quasi-Newton method with a cubic line search procedure.
Take a look at the following documentation page and scroll down to the section call Algorithm > Medium-Scale Optimization
2 comentarios
Shashank Prasanna
el 22 de En. de 2013
Do the following:
>> options = optimset('LargeScale','off');
>> x = fminunc(fun,x0,options)
I urge you to read the FMINUNC documentation:
Más respuestas (0)
Ver también
Categorías
Más información sobre Linear Least Squares en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!