R/gp_functions.R
gp_optimize.Rd
to optimizes S2 using MLE. This function automatically runs when gp_train(..., optimize=TRUE).
gp_optimize(K, Y, optim.tol = 0.1)
kernel matrix (of covariates)
Y vector (outcome variable)
optimized s2 value
the likelihood value at the optimal point