Random Search

Category: Foundations of ML/AI

A hyperparameter tuning method that samples random combinations of parameter values from specified distributions.

Full Explanation

Random search selects hyperparameter configurations by randomly sampling from specified distributions rather than exhaustively evaluating a grid. Research by Bergstra and Bengio (2012) demonstrated that random search is often more efficient than grid search because it explores a wider range of values for each hyperparameter. This is especially true when only a few hyperparameters significantly affect performance. Random search scales better to high-dimensional search spaces and can be easily parallelized. It provides a good balance between exploration and computational cost. While it does not guarantee finding the optimal configuration, it typically finds good solutions faster than grid search with the same computational budget.

Related Terms

More in Foundations of ML/AI

Explore More