A GP with kernel and noise variance is trained on and . What are the predictive mean and variance at ?
Probabilistic models, Gaussian processes
Level L3 Intermediate. Length Long. Nature Mat Mathematical.
What's being asked
Whether you can carry out GP regression by hand on two points with the standard formulas.
Key idea
Mean and variance (add for a noisy observation).
Steps
- Kernel values: . The matrix is .
- Determinant: . Inverse: .
- Cross-covariances: , so .
- Weights: .
- Mean: . It is a little above the midpoint 1.5, since the second point (with ) has more weight.
- Variance: . So , and the predictive variance of a noisy observation is .
Common mistakes
- Forgetting the noise on the diagonal of the training matrix.
- Forgetting to add when predicting a noisy rather than the latent .
- Computing with the squared distance but without the factor .
How long your answer should be
A page. About 6 minutes.
Last checked on 4 December 2026.
Read this
Previous in Probabilistic models: Show that the predictive distribution of Bayesian linear regression at a new input has variance , where is the feature vector. How do you show that the second term can only shrink when a new data point is added?
Next in Probabilistic models: A target distribution on three states is . A Metropolis sampler proposes one of the two other states with probability each, and accepts with probability . What is the transition matrix, and how do you check that is stationary and that detailed balance holds?