sample.functions.from.kernel: Sample a function from a Gaussian Process Prior

Description Usage Arguments Value

View source: R/gp.R

Description

Sample a function from a Gaussian Process Prior

Usage

1
2
sample.functions.from.kernel(x, kernel, sigma.n, hyper.params,
  num.functions = 1)

Arguments

x

Points to sample at

kernel

Kernel of the Gaussian Process

sigma.n

Standard deviation of the noise

hyper.params

Hyperparameters of the kernel

num.functions

The number of different functions to generate

Value

A numeric vector of values at the sampled points


mattdneal/gaussianProcess documentation built on May 21, 2019, 12:58 p.m.