Particle swarm for hyperparameter optimization
5 min readJun 17, 2020
On every machine learning algorithm that is applied to a data set, several hyperparameters need to be optimized to obtain the best performance. Such hyperparameters adjust several characteristics of the algorithm and could be integer values, natural numbers on a given range, boolean values, or a combination of different types. In this post, I will show you how to implement a heuristic algorithm known as…