Comparison of Gradient Ascent and Hill Climbing
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
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
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!