liveBook · Manning

Normal distribution

As explained in Bayesian Optimization in Action

A normal distribution is a continuous probability distribution characterized by a mean and variance and having a symmetric bell-shaped density.

A normal distribution, often called a bell curve, represents uncertainty about one quantity. Its mean gives the expected value and its variance gives the spread. In Gaussian-process prediction, this turns a single estimate into a distribution: the center is the predicted value, while the range expresses confidence. Predictions near observations can be more certain than predictions far away. section 2.0 section 2.6

Estimating a house price

Before seeing comparable sales, a homeowner may believe a house is worth roughly $150k–$300k. A nearby, similar house sold for $250k shifts that belief toward a narrower $230k–$270k range; an unrelated California sale need not change it. The normal distribution captures both the estimate and the remaining uncertainty. section 2.1 section 2.2.2

For several quantities at once, use a multivariate Gaussian distribution. Its mean vector contains the expected value of each variable. The covariance matrix places each variable’s variance on the diagonal and records relationships between variables off the diagonal. Strong positive correlation means observing one variable can shift the mean and reduce uncertainty for another; weak correlation leaves it largely unchanged. section 2.2.1 section 2.2.2

Conditioning updates a Gaussian belief after an observation:

  • Fix the observed variable at its known value; its posterior uncertainty becomes zero. section 2.2.2
  • Update correlated variables’ means and variances, with stronger effects for stronger correlations. section 2.2.2
  • Leave uncorrelated variables essentially unchanged by that observation. section 2.2.2
Figure 2.4 An MVN distribution groups multiple normally distributed random variables together. While the mean vector of the MVN concatenates the mean values, the covariance matrix models the correlations between the individual variables.

Use the mean vector and covariance matrix diagram to distinguish individual normal distributions from their joint multivariate model. section 2.2.1

A Gaussian process extends this idea from a finite vector to function values across an input domain. Every finite set of function values follows a multivariate Gaussian, so a model can make normal-distribution predictions at individual test points while using covariance to connect similar inputs. These predictive distributions support Bayesian optimization, where possible improvement over the current best value is assessed from the distribution at each candidate point. section 2.3 section 4.2.1

How Bayesian Optimization in Action covers it

How deep it goes
Defines normal and multivariate Gaussian roles, explains conditioning visually, and defers the closed-form posterior derivation.
Examples
Uses house-price estimates, correlated variables, posterior samples, and improvement beyond an incumbent.
What it assumes
Introduces bell curves and multivariate Gaussian notation before using them to define Gaussian processes.
What you can do after
Evaluate/understand how means, variances, and correlations shape Gaussian-process predictions and improvement estimates.
How it connects
Connects Gaussian processes, covariance matrices, Bayesian updates, conditioning, and Bayesian optimization.

Also explained in

Compare how 16 books explain normal distribution →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Bayesian Optimization in Action. The section links point to the parts of the book it draws on.