Description Usage Arguments Value
Sample from the posterior distribution for f(X) (or the posterior predictive)
1 2 | ## S3 method for class 'gaussianProcess'
sample(gp, X, n, pred = F)
|
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 |
An n dimensional vector of samples from the posterior (predictive)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.