Comparison of Gradient Ascent and Hill Climbing
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm running both gradient ascent and hill climbing on a landscape to assess which one can reach the greatest height in less steps. The outcome of my test is that hill climbing always manages to reach greater heights in less increments in comparison to gradient ascent. What's reason behind this. Because I thought gradient ascent would be more efficient. Does anyone have experience with the algorithms that may have something to say.
Thank you.
0 Kommentare
Antworten (1)
Alan Weiss
am 21 Nov. 2016
This example might give you some ideas about potential problems with the steepest descent algorithm.
Efficient optimization algorithms use gradient information, but use an approximate Hessian instead of straightforward steepest descent. For details, see any optimization book, or the Optimization Toolbox documentation on nonlinear optimization algorithms.
Alan Weiss
MATLAB mathematical toolbox documentation
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!