Comparison of Gradient Ascent and Hill Climbing

5 visualizaciones (últimos 30 días)
N/A
N/A el 19 de Nov. de 2016
Respondida: Alan Weiss el 21 de Nov. de 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.

Respuestas (1)

Alan Weiss
Alan Weiss el 21 de Nov. de 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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by