sample.gaussianProcess: Sample from the posterior distribution for f(X) (or the...

Description Usage Arguments Value

Description

Sample from the posterior distribution for f(X) (or the posterior predictive)

Usage

1
2
## S3 method for class 'gaussianProcess'
sample(gp, X, n, pred = F)

Arguments

gp

A gaussianProcess object with data, kernel, etc.

X

An n x d matrix of new observations

n

Number of samples

pred

Boolean, whether to sample from the posterior predictive

Value

An n dimensional vector of samples from the posterior (predictive)


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