ljvmiranda921/pyswarms
A Python research toolkit implementing particle swarm optimization for global optimization and hyperparameter search.

PySwarms provides a high-level declarative interface for particle swarm optimization, a metaheuristic inspired by swarm intelligence behavior. The library includes built-in objective functions for testing, plotting environments for visualizing cost histories and particle movement, and hyperparameter search capabilities. It targets swarm intelligence researchers and practitioners who need to apply PSO to optimization problems including ML hyperparameter tuning.