Returns the mean of the squared leave-one-out errors, computed with Dubrule's formula.
leaveOneOutFun(param, model, envir = NULL)
The mean of the squared leave-one-out errors.
a vector containing the optimization variables.
an object of class km
.
an optional environment specifying where to assign intermediate values for future gradient calculations. Default is NULL.
O. Roustant, Ecole des Mines de St-Etienne
F. Bachoc (2013), Cross Validation and Maximum Likelihood estimations of hyper-parameters of Gaussian processes with model misspecification. Computational Statistics and Data Analysis, 66, 55-69.
O. Dubrule (1983), Cross validation of Kriging in a unique neighborhood. Mathematical Geology, 15, 687-699.
leaveOneOut.km
, leaveOneOutGrad