Navigation überspringen
Simulated Annealing: a stochastic optimization method inspired by nature.
0:00 / 0:24

Simulated Annealing: a stochastic optimization method inspired by nature.

Tyler Morgan-Wall

@tylermorganwall23.320 Follower

Auf X besuchen
1.088 LikesHerunterladenOriginalbeitrag

219.002 Aufrufe #RStats #rayshader

Simulated Annealing: a stochastic optimization method inspired by nature. As "temperature" decreases, random fluctuations (that allow it to escape local minima/maxima) decrease and the particle resorts to hillclimbing. No gradient calculation required. #RStats #rayshader

9 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von @tylermorganwall.bsky.social

    @tylermorganwall

    (See if you can spot the two particles going "We're coming! Wait for us!!")

    19 Likes

  • Profilbild von eno Rogue

    @ZenoRogue

    @Flexi23 This animation does not show the full power of SA, because not many of them have reached the global maximum. However, it seems this is because of non-optimally chosen parameters (not enough time spent at very high temperature).

    4 Likes

  • Profilbild von Robyn Shaw

    @RobsShaw

    @certhionyx good ol simulated annealing

    2 Likes

  • Profilbild von Paul Ramsey

    @pwramsey

    @wgeary Picking out the ridge lines is a nice emergent property too. Sweet.

    2 Likes

  • Profilbild von Damie Pak

    @pakdamie

    I never got simulated annealing but it’s amazing how much it clicks with the animation. It’s fantastic!

    1 Like

  • Profilbild von Waris

    @riiswax

    @DFintelligence tu cherchais une visualisation en stream hier pour expliquer l'optimisation de fonctions objectives

    1 Like

  • Profilbild von Ibrahim - إبراهيم

    @abechahrour

    @saforem2 How do they know to climb up if no gradient is being computed? Or do you mean the global maximum?

    1 Like

  • Profilbild von @tylermorganwall.bsky.social

    @tylermorganwall

    @saforem2 As the "temperature" lowers, the probability of a random movement to a lower potential being accepted decreases. As T -> 0 this probability also goes to zero, and the algorithm effectively reverts to pure hillclimbing.

    3 Likes

  • Profilbild von Jan Skerswetat

    @JanSkerswetat

    The only thing that is missing is a voice over for the last two data points climbing up the hill 😂 Great work!

    1 Like