Before you can read the parent note Bayesian hyperparameter optimization, you need to earn every symbol it throws at you. This page defines them one at a time, from absolute zero, in the order you must learn them. Nothing here assumes you've seen the notation before — line one starts from nothing.
A machine-learning model has knobs you set before training — how fast it learns, how much it distrusts complexity, and so on. These knobs are hyperparameters. Turning the knobs changes how well the trained model does on unseen data. We want the knob-setting that does best.
Because every setting has a score, we can imagine a landscape: over each point of the map Λ there is a hill-height f(λ). The best setting is the top of the tallest hill.
When we train twice with the sameλ we don't get exactly the same score — random shuffling, initialization, etc. wobble it. So the measured score y is the true height plus a wobble:
y=f(λ)+ϵ
Picture:f(λ) is the true ground level; each measurement y is a slightly jittered flag stuck near the ground. We only ever see the flags, never the ground itself.
To reason about "how sure are we?" we need the shape of uncertainty: the bell curve (normal distribution).
Why the topic needs it: at every unseen setting the method reports its belief about f(λ) as a bell curve — a best guess μ and an honesty band σ. That band is what makes exploration possible.
The Expected-Improvement formula in the parent note uses two functions of the standard bell curve (the one centred at 0 with spread 1).
Why the topic needs them:Φ(Z) answers "what's the chance we beat the current best?" and ϕ(Z) measures "how big is the surprise if we do?" — the two ingredients of Expected Improvement.
Picture: a vector is a single shelf of boxes; a matrix is a whole cabinet of boxes with rows and columns. The GP posterior formulas multiply these to combine everything we've measured.
Compare the naive alternatives that ignore the surrogate: Grid Search and Random Search. The grown-up version that searches over whole model designs is Neural Architecture Search.