liveBook · Manning

Mean

As explained in Bayesian Optimization in Action

An expected value is the probability-weighted average value of a random variable.

A mean is an average value. For a random variable, the expected value is its probability-weighted average; for a Gaussian vector, the mean vector lists each variable’s expected value. section 2.2.1

Use the mean in several related ways:

  • Summarize a distribution with its central expected value. section 2.2.1
  • Represent a Gaussian process’s predictive mean, which smoothly interpolates training data after fitting. section 2.6
  • Combine the predictive mean with uncertainty in an upper-confidence-bound score, μ + βσ. section 5.2.2

Mean in Bayesian optimization

An upper-confidence-bound policy scores a candidate as μ + βσ. Setting β = 0 uses only the mean and favors exploitation; increasing β gives uncertainty more influence and encourages exploration. section 5.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.

Visualizes how a multivariate Gaussian stores expected values in a mean vector while using covariance to describe variation and relationships. section 2.2.1

How Bayesian Optimization in Action covers it

How deep it goes
Defines expected values and mean vectors, then applies predictive means in Gaussian processes and UCB without deriving their update equations.
Examples
Illustrates means with housing-price Gaussians, materials mixing-temperature predictions, and UCB confidence bounds.
What it assumes
Assumes familiarity with random variables and Gaussian distributions while introducing mean vectors through multivariate Gaussian examples.
What you can do after
Evaluate/understand Gaussian predictions and adjust exploration versus exploitation through the UCB mean term and β.
How it connects
Connects means to expected value, Gaussian distributions, covariance, Gaussian processes, uncertainty, and Bayesian optimization.

Also explained in

Compare how 29 books explain mean →

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.