Do I need to normalize input parameters to Particle Swarm Optimization?

8 vues (au cours des 30 derniers jours)
Buddhi Wimarshana
Buddhi Wimarshana le 8 Août 2022
Hi there,
If the optimizing parameters are in different magnitudes of orders, do I need to scale the upper and lower bounds of the parameters to a scale lilke [1,0]? or does PSO actually do it internally?
Many thanks

Réponses (1)

Alan Weiss
Alan Weiss le 8 Août 2022
You don't usually need to scale your parameters, but many problems are solved more reliably if you do. See Center and Scale Your Problem. I would first try to solve the problem without centering and scaling, and then center and scale if the solver doesn't converge well.
Alan Weiss
MATLAB mathematical toolbox documentation
  1 commentaire
Buddhi Wimarshana
Buddhi Wimarshana le 8 Août 2022
Thanks Alan, I am not sure if PSO does it internally, I found this particular phrase,
For u1 and u2 uniformly (0,1) distributed random vectors of length nvars, update the velocity
v = W*v + y1*u1.*(p-x) + y2*u2.*(g-x).
mentioned in here PSO Algorithm.
Any thoughts on this? didn't quite get what u1 and u2 are on the article...

Connectez-vous pour commenter.

Produits


Version

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by