Random Search
Random Search samples parameter values randomly instead of testing every combination.
This is more efficient when you have many parameters or large ranges, you'll explore the space faster without exhaustive enumeration.
When to use Random Search
Large parameter spaces: Testing all combinations would create too many executions
Budget constraints: You have limited time or compute resources
Exploratory tuning: You want a quick sense of promising regions before refining
Create a Random Search
Follow the same steps as Grid Search, but:
Select Random Search as the Task type
Open your project in Valohai
Go to the Tasks tab
Click Create Task
Select the step that contains your parameters
Scroll to Parameters
For each parameter, choose Random as the type
Specify:
Min and max values for the random range
Count: How many random samples to draw for this parameter
Valohai will generate random parameter combinations and queue the specified number of executions.
💡 Tip: Random Search often finds good hyperparameters faster than Grid Search when you have more than 3-4 parameters.
Last updated
Was this helpful?
