Hill Climbing - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

Hill Climbing

Description:

Terminates when it reaches a 'peak'. Does not look beyond immediate neighbors ... Remark: if E=-2 downward moves are less likely to be accepted than when E=-1 (e. ... – PowerPoint PPT presentation

Number of Views:57
Avg rating:3.0/5.0
Slides: 7
Provided by: ricardo125
Category:
Tags: are | climbing | hill | my | neighbors | who

less

Transcript and Presenter's Notes

Title: Hill Climbing


1
Hill Climbing
  • Moves in the direction of increasing value.
  • Terminates when it reaches a peak.
  • Does not look beyond immediate neighbors
  • (variant use definition of a neighborhood
  • ? later).

2
Hill Climbing
  • Can get stuck for some reasons
  • Local maxima
  • Ridges
  • Plateau
  • Variants stochastic hill climbing?more details
    later
  • random uphill move
  • generate successors randomly until one is
    better
  • run hill climbing multiple times using
    different
  • initial states (random restart)

3
Simulated Annealing
  • Instead of picking the best move pick
  • randomly
  • If improvement is observed, take the step
  • Otherwise accept the move with some
  • probability
  • Probability decreases with badness of step
  • And also decreases as the temperature goes
  • down

4
(No Transcript)
5
Example of a Schedule Simulated Annealing
  • Tf(t) (2000-t)/2000 --- runs for 2000
    iterations
  • Assume ?E-1 then we obtain
  • t0 ? downward move will be accepted with
    probability e-1
  • t1000 ? downward move will be accepted with
    probability e-2
  • t1500 ? downward move will be accepted with
    probability e-4
  • t1999 ? downward move will be accepted with
    probability e-2000
  • Remark if ?E-2 downward moves are less likely
    to be accepted than when ?E-1 (e.g. for t1000 a
    downward move would be accepted with probability
    e-4)

6
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com