Particle Swarm Optimization (PSO) from scratch. Simplest explanation in python
How to implement PSOPhoto by James Wainscoat on UnsplashBefore talking about swarms and particles, let’s briefly discuss optimization itself. Basically, optimization is the process of finding the minima or maxima of some function. For instance, when you need to get to your office ASAP and think about which way is the fastest, you’re optimizing your route (in this case it’s a function). In math, there are literally hundreds of ways of optimization, and among them a sub-group called nature-inspired exists.Nature-inspired…