Comparison of Gradient Ascent and Hill Climbing

5 views (last 30 days)
N/A
N/A on 19 Nov 2016
Answered: Alan Weiss on 21 Nov 2016
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.

Answers (1)

Alan Weiss
Alan Weiss on 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

Community Treasure Hunt

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

Start Hunting!