필터 지우기
필터 지우기

using gradient descent to optimise in matlab

조회 수: 11 (최근 30일)
CLARK KENDRICK GO
CLARK KENDRICK GO 2018년 7월 5일
편집: Matt J 2018년 7월 5일
Is gradient descent available to use in the optimisation toolbox? I am looking for documentation on how to use it, but failed.
  댓글 수: 1
Anton Semechko
Anton Semechko 2018년 7월 5일
Optimization algorithms implemented in the Optimization Toolbox are more advanced than gradient descent. See this example on how to implement your own gradient descent algorithm.

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

답변 (1개)

Alan Weiss
Alan Weiss 2018년 7월 5일
There is an example showing how to use an undocumented steepest-descent option, but really, why would you use it when steepest descent is not a good algorithm for numerical minimization?
Alan Weiss
MATLAB mathematical toolbox documentation
  댓글 수: 2
Matt J
Matt J 2018년 7월 5일
편집: Matt J 2018년 7월 5일
Alan, I find it curious that you would call it "undocumented". The 'HessUpdate'='steepdesc' option is listed quite plainly in the fminunc documentation.
Alan Weiss
Alan Weiss 2018년 7월 5일
You are correct, I should have said "hidden" instead of "undocumented." The HessUpdate option is hidden in the sense that it does not appear in the options created by optimoptions, but you can set it.
Alan Weiss
MATLAB mathematical toolbox documentation

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

카테고리

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