| GauPro_kernel_model_LOO | R Documentation |
Corr Gauss GP using inherited optim
Corr Gauss GP using inherited optim
R6Class object.
Object of R6Class with methods for fitting GP model.
GauPro::GauPro -> GauPro_kernel_model_LOO
tmodA second GP model for the t-values of leave-one-out predictions
use_LOOShould the leave-one-out error corrections be used?
GauPro::GauPro$AIC()GauPro::GauPro$AugmentedEI()GauPro::GauPro$CorrectedEI()GauPro::GauPro$EI()GauPro::GauPro$KG()GauPro::GauPro$cool1Dplot()GauPro::GauPro$deviance()GauPro::GauPro$deviance_fngr()GauPro::GauPro$deviance_grad()GauPro::GauPro$fit()GauPro::GauPro$get_optim_functions()GauPro::GauPro$grad()GauPro::GauPro$grad_dist()GauPro::GauPro$grad_norm()GauPro::GauPro$grad_norm2_dist()GauPro::GauPro$grad_norm2_mean()GauPro::GauPro$grad_norm2_sample()GauPro::GauPro$grad_sample()GauPro::GauPro$gradpredvar()GauPro::GauPro$hessian()GauPro::GauPro$importance()GauPro::GauPro$loglikelihood()GauPro::GauPro$maxEI()GauPro::GauPro$maxqEI()GauPro::GauPro$optim()GauPro::GauPro$optimRestart()GauPro::GauPro$optimize_fn()GauPro::GauPro$param_optim_lower()GauPro::GauPro$param_optim_start()GauPro::GauPro$param_optim_start0()GauPro::GauPro$param_optim_start_mat()GauPro::GauPro$param_optim_upper()GauPro::GauPro$plot()GauPro::GauPro$plot1D()GauPro::GauPro$plot2D()GauPro::GauPro$plotLOO()GauPro::GauPro$plot_track_optim()GauPro::GauPro$plotkernel()GauPro::GauPro$plotmarginal()GauPro::GauPro$plotmarginalrandom()GauPro::GauPro$pred()GauPro::GauPro$pred_LOO()GauPro::GauPro$pred_mean()GauPro::GauPro$pred_meanC()GauPro::GauPro$pred_var()GauPro::GauPro$pred_var_after_adding_points()GauPro::GauPro$pred_var_after_adding_points_sep()GauPro::GauPro$pred_var_reduction()GauPro::GauPro$pred_var_reductions()GauPro::GauPro$predict()GauPro::GauPro$print()GauPro::GauPro$sample()GauPro::GauPro$summary()GauPro::GauPro$update_K_and_estimates()GauPro::GauPro$update_corrparams()GauPro::GauPro$update_data()GauPro::GauPro$update_fast()GauPro::GauPro$update_nugget()GauPro::GauPro$update_params()new()Create a kernel model that uses a leave-one-out GP model to fix the standard error predictions.
GauPro_kernel_model_LOO$new(..., LOO_kernel, LOO_options = list())
...Passed to super$initialize.
LOO_kernelThe kernel that should be used for the leave-one-out model. Shouldn't be too smooth.
LOO_optionsOptions passed to the leave-one-out model.
update()Update the model. Should only give in (Xnew and Znew) or (Xall and Zall).
GauPro_kernel_model_LOO$update( Xnew = NULL, Znew = NULL, Xall = NULL, Zall = NULL, restarts = 5, param_update = self$param.est, nug.update = self$nug.est, no_update = FALSE )
XnewNew X values to add.
ZnewNew Z values to add.
XallAll X values to be used. Will replace existing X.
ZallAll Z values to be used. Will replace existing Z.
restartsNumber of optimization restarts.
param_updateAre the parameters being updated?
nug.updateIs the nugget being updated?
no_updateAre no parameters being updated?
pred_one_matrix()Predict for a matrix of points
GauPro_kernel_model_LOO$pred_one_matrix( XX, se.fit = F, covmat = F, return_df = FALSE, mean_dist = FALSE )
XXpoints to predict at
se.fitShould standard error be returned?
covmatShould covariance matrix be returned?
return_dfWhen returning se.fit, should it be returned in a data frame?
mean_distShould mean distribution be returned?
clone()The objects of this class are cloneable with this method.
GauPro_kernel_model_LOO$clone(deep = FALSE)
deepWhether to make a deep clone.
n <- 12
x <- matrix(seq(0,1,length.out = n), ncol=1)
y <- sin(2*pi*x) + rnorm(n,0,1e-1)
gp <- GauPro_kernel_model_LOO$new(X=x, Z=y, kernel=Gaussian)
y <- x^2 * sin(2*pi*x) + rnorm(n,0,1e-3)
gp <- GauPro_kernel_model_LOO$new(X=x, Z=y, kernel=Matern52)
y <- exp(-1.4*x)*cos(7*pi*x/2)
gp <- GauPro_kernel_model_LOO$new(X=x, Z=y, kernel=Matern52)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.