Filter löschen
Filter löschen

using gradient descent to optimise in matlab

11 Ansichten (letzte 30 Tage)
CLARK KENDRICK GO
CLARK KENDRICK GO am 5 Jul. 2018
Bearbeitet: Matt J am 5 Jul. 2018
Is gradient descent available to use in the optimisation toolbox? I am looking for documentation on how to use it, but failed.
  1 Kommentar
Anton Semechko
Anton Semechko am 5 Jul. 2018
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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Alan Weiss
Alan Weiss am 5 Jul. 2018
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 Kommentare
Matt J
Matt J am 5 Jul. 2018
Bearbeitet: Matt J am 5 Jul. 2018
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 am 5 Jul. 2018
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

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by