关于PSO算法的速度更新 [英] about PSO algorithm velocity updation
本文介绍了关于PSO算法的速度更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对粒子群优化算法有疑问。在PSO中,当更新速度时,我在等式中使用了pbest和gbest。
pbest和gbest是值还是粒子?
I have a doubt regarding Particle Swarm Optimization algorithm.In PSO,when updating the velocity,i used the pbest and gbest in the equation.
Is pbest and gbest are values or particles?
推荐答案
Hey Chnr108,
不确定算法,但快速谷歌发现了这个: [ ^ ]
从解释那里听起来似乎pbest是一个单独的粒子是最好的 - 所以它是每个粒子的值(即属性)粒子)。 Gbest是全球最好的 - 所以也是一个值,但是通过将一些聚合函数应用于粒子集合(例如从粒子
中选择max(pbest))来计算 - 不确定如果Max是正确的聚合,那么SQL语句只与解释逻辑有关。
希望有所帮助。
干杯,
JB
Hey Chnr108,
Not sure about the algorithm, but a quick google found this: [^]
From the explanation there it sounds as if pbest is an individual particle's best - so it's a value per particle (i.e. a property of the particle). Gbest is the global best - so again a value, but calculated from applying some aggregate function to the particle collection (e.g.select max(pbest) from particles
in simple terms - not sure if Max is the correct aggregate though, and the SQL statement is only of relevance to explain the logic).
Hope that's of some help.
Cheers,
JB
Pbest:到目前为止已达到的最佳解决方案(适应性)。 (健康值也存储。)
Gbest:迄今为止人口中任何粒子获得的最佳值。
所以inshort pbest是本地最佳值&gbest是全球最佳价值。
Pbest: best solution (fitness) it has achieved so far. (The fitness value is also stored.)
Gbest: best value, obtained so far by any particle in the population.
so inshort pbest is a local best value & gbest is global best value.
这篇关于关于PSO算法的速度更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文