Simple visualization of how the Particle Swarm Optimization algorithm works using pygame. Click on screen to set 'treasure' location, which particles will attempt to 'find'. Had some help from the following articles: https://medium.com/analytics-vidhya/implementing-particle-swarm-optimization-pso-algorithm-in-python-9efc2eb179a6 And https://towardsdatascience.com/particle-swarm-optimisation-in-machine-learning-b01b1d2ad8a8 Thanks @IranNeto, @tstreamDOTh
Visualização simples de como funciona o algoritmo de otimização por enxame de partículas usando pygame. Clique na tela para setar a posição do 'tesouro', o qual as partículas vão tentar 'procurar'. Obtive alguma ajuda através dos seguintes artigos: https://medium.com/analytics-vidhya/implementing-particle-swarm-optimization-pso-algorithm-in-python-9efc2eb179a6 e https://towardsdatascience.com/particle-swarm-optimisation-in-machine-learning-b01b1d2ad8a8 Obrigado @IranNeto, @tstreamDOTh