In this recipe, we'll use the
**Gaussian process** for regression. In the linear models section, we saw how representing prior information on the coefficients was possible using
**Bayesian Ridge Regression**.

With a Gaussian process, it's about the variance and not the mean. However, with a Gaussian process, we assume the mean is 0, so it's the covariance function we'll need to specify.

The basic setup is similar to how a prior can be put on the coefficients in a typical regression problem. With a GP, a prior can be put on the functional form of the data, and it's the covariance between the data points that is used to model the data, and therefore, must be fit from the data.

So, let's use some regression ...

Start Free Trial

No credit card required