What is the difference between a hyperparameter search using random search versus grid search?

Machine Learning Hard

Machine Learning — Hard

What is the difference between a hyperparameter search using random search versus grid search?

Key points

  • Grid search evaluates all combinations in a grid
  • Random search samples hyperparameters randomly
  • Random search is more efficient in high-dimensional spaces
  • Not all hyperparameters are equally important
  • Random search covers the space more evenly

Ready to go further?

Related questions