L1O | R Documentation |
Provides leave-one-out diagnostics for Gaussian process given a design X with data Y and hyperparameters lambda.
L1O(X, Y, lambda, ...)
X |
Matrix of |
Y |
Currently the Gaussian process is univariate. So, vector
with |
lambda |
List made of (1) a vector codetheta, with $m$ elements corresponding to roughness lengths associated with input variables, and (2) |
... |
Other parameters passed to |
Vector of
Xi |
Input design |
Yi |
Supplied output |
mean |
GP output mean for each left-out experiment |
sd |
GP standard error for each left-out experiment |
mahalanobis |
GP mahalanobis for each left-out experiment |
Michel Crucifix
GP_C
, GP_P
# univariate example
X <- matrix(c(1,2,3,4,5,6,7), 7, 1)
Y <- c(1.1, 2.1, 4.7, 1.3, 7.2, 8, 9)
out <- L1O(X, Y, lambda=list(theta=1, nugget=0))
require(Hmisc)
with(out, errbar(Yi, mean, mean-sd, mean+sd))
lines(c(-10,10), c(-10,10), lty=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.