Grid search and random search are outdated. This approach outperforms both.

Ali Soleymani
7 min readFeb 8, 2023

If you’re a data scientist, there is a good chance you have used “Grid Search” to fine-tune the hyperparameters of your model. This is a standard approach available in scikit-learn, which takes a set of values for every parameter as a search space, tries all the possible combinations of those parameters and chooses the ones that result in the best cross-validation performance. Or you may have used Random Search, which randomly selects a few of the values in the search space for a predefined number of times.

--

--

Ali Soleymani

2x Top Writer in Artificial Intelligence | Helping Data Scientists Up Their Game!