There's more...

Choosing an estimator's hyperparameters is a fundamental procedure for setting up a model. Among the available procedures, grid search is one of the most used. This procedure selects the hyperparameter with the maximum score on a validation set or a multiple validation set.