liveBook · Manning

Random search

Random search is an optimization technique that explores a search space by evaluating candidate solutions or configurations selected through randomized choices.

How 2 Manning books explain it

Designing Deep Learning Systems: A guide for software engineers

A hyperparameter search method that samples configurations randomly from a defined search space until a search budget is exhausted.

How it is used
Deploys independent configuration trials to explore a hyperparameter space under a fixed optimization budget.
How deep it goes
Explains sampling, search spaces, budgets, and trial execution while deferring mathematical reasoning.
Examples
Uses learning-rate and batch-size ranges, a 100-trial budget, and a conditional classifier search.
What you can do after
Apply random search by defining an objective, specifying a search space, and running a bounded set of HPO trials.

Read how Designing Deep Learning Systems: A guide for software engineers explains random search →

Bayesian Optimization in Action

An optimization strategy that evaluates randomly selected candidate locations without adaptively modeling the objective.

How it is used
Uses random evaluation as a baseline for expensive black-box optimization before introducing adaptive methods.
How deep it goes
Defines uniform and non-uniform sampling and illustrates resource waste, but stops short of implementation details.
Examples
Uses a one-dimensional function on [−5, 5], ten evaluations, and a best observed point near x = 4.
What you can do after
Apply random search by sampling candidate locations, evaluating them, and retaining the best observed value.

Read how Bayesian Optimization in Action explains random search →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.