正在加载视频...

视频加载失败

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

218,919 次观看 • 3 年前 •via X (Twitter)

9 条评论

@tylermorganwall.bsky.social 的头像
@tylermorganwall.bsky.social3 年前

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

eno Rogue 的头像
eno Rogue3 年前

@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).

Robyn Shaw 的头像
Robyn Shaw3 年前

@certhionyx good ol simulated annealing

Paul Ramsey 的头像
Paul Ramsey3 年前

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

Damie Pak 的头像
Damie Pak3 年前

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

Waris 的头像
Waris3 年前

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

Ibrahim - إبراهيم 的头像
Ibrahim - إبراهيم3 年前

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

@tylermorganwall.bsky.social 的头像
@tylermorganwall.bsky.social3 年前

@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.

Jan Skerswetat 的头像
Jan Skerswetat3 年前

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

相关视频