
Databricks Certified Machine Learning - Associate
Get started today
Ultimate access to all questions.
In the context of hyperparameter tuning, explain the concept of random search and its advantages over grid search. Provide a scenario where random search would be more effective than grid search.
In the context of hyperparameter tuning, explain the concept of random search and its advantages over grid search. Provide a scenario where random search would be more effective than grid search.
Explanation:
Random search is a more efficient method for hyperparameter tuning when the search space is large and the relationship between hyperparameters is not well understood. It avoids the exhaustive search of all possible combinations in grid search, which can be computationally expensive. In a scenario where the search space is large and the relationship between hyperparameters is not well understood, random search can explore the search space more effectively and find better hyperparameter combinations in less time compared to grid search.