ruutuhaku
Ruutuhaku, also known as grid search, is a simple yet effective method for hyperparameter optimization in machine learning. It involves exhaustively searching through a manually specified subset of the hyperparameter space. The algorithm defines a grid of possible values for each hyperparameter and then trains and evaluates a model for every possible combination of these values.
The process begins by defining a set of hyperparameter values to explore. For example, if tuning a
After evaluating all combinations, the set of hyperparameters that yielded the best performance on the validation