Gaussian process roadmap

Some “for completeness notes” for the github issue (thanks to the magic of discourse latex). The notation here is not necessarily consistent with the rest of the thread but is consistent with the issue.

  1. If y(x) is a GP and \mathbf{y} is a vector with [\mathbf{y}]_i = u(x_i), then
\mathbf{y} \sim N(\mathbf{0}, \mathbf{C})

for some covariance matrix \mathbf{C}.
2) The partial with respect to any parameter \theta_j that’s used to define \mathbf{C} of the log prior density for \mathbf{u} is (Equation 5.9 in R&W)

\frac{\partial}{\partial \theta_j} \log p( \mathbf{y} | x, \theta) = \frac{1}{2} \operatorname{tr}\left[ \left(\mathbf{\alpha \alpha}^T - \mathbf{C}^{-1}\right) \frac{\partial \mathbf{C}}{\partial \theta_j}\right]

3.) The derivative w.r.t. a component of x is

\frac{\partial}{\partial x_j} \log p( \mathbf{y} | x, \theta) = \frac{1}{2} \operatorname{tr}\left[ \left(\mathbf{\alpha \alpha}^T - \mathbf{C}^{-1}\right) \frac{\partial \mathbf{C}}{\partial x_j}\right]