Regression with Gaussian process.
This script essentially takes in the input ( X, y ) (input is in matrix format), then
- It calculates a covariance matrix, K
- and a predictive mean and variance of a test point x_star (it is a single point).
- a log marginal likelihood
Algorithm : taken from gaussian processes for machine learning by Williams & Rasmussen (page 19)