필터 지우기
필터 지우기

non linear least squares problem using BFGS

조회 수: 1 (최근 30일)
David Kusnirak
David Kusnirak 2013년 1월 21일
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
Matt J
Matt J 2013년 1월 21일
편집: Matt J 2013년 1월 21일
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.
David Kusnirak
David Kusnirak 2013년 1월 22일
Thanks for hint. As I'm trying to follow 'recipe' from an arcticle, I'd prefer the Gauss-Newton method. I've tried to write my own script, but it yields quite poor results, so I would like to compare it somehow with Matlab function to improve the results.

댓글을 달려면 로그인하십시오.

채택된 답변

Shashank Prasanna
Shashank Prasanna 2013년 1월 21일
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
David Kusnirak
David Kusnirak 2013년 1월 22일
Thank you. I'm going to try this way, but till now I didn't find out how to set the algorithm for the medium scale..
Shashank Prasanna
Shashank Prasanna 2013년 1월 22일
Do the following:
>> options = optimset('LargeScale','off');
>> x = fminunc(fun,x0,options)
I urge you to read the FMINUNC documentation:

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by