gp_log_marg_like: Compute the marginal log likelihood for a GP with given data,...

Description Usage Arguments Value

Description

Compute the marginal log likelihood for a GP with given data, kernel, etc.

Usage

1
2
gp_log_marg_like(hyper.params, X, y, kernel.type = rbf, order = 5/2,
  noise.var = 1)

Arguments

hyper.params

Hyper parameters as a vector (for rbf c(amplitude, scales))

X

An n x d matrix of covariates for observed data

y

An n dimensional vector of outputs for observed data

kernel.type

The kernel function to use

order

The order of the kernel, defaults to 5/2

noise.var

The variance of the noise around the function

Value

Log marginal likelihood


ebenmichael/gaussianProcess documentation built on May 15, 2019, 7:30 p.m.