Description Usage Arguments Value Comments Author(s) See Also
View source: R/lineqGPlikelihoods.R
Function for optimizations of "lineqGP"
S3 class objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | lineqGPOptim(
model,
x0 = model$kernParam$par,
eval_f = "logLik",
lb = rep(0.01, length(x0)),
ub = rep(Inf, length(x0)),
opts = list(algorithm = "NLOPT_LD_MMA", print_level = 0, ftol_abs = 0.001, maxeval =
50, check_derivatives = FALSE, parfixed = rep(FALSE, length(x0))),
seed = 1,
estim.varnoise = FALSE,
bounds.varnoise = c(0, Inf),
add.constr = FALSE,
additive = FALSE,
mcmc.opts = list(probe = "Genz", nb.mcmc = 1000),
max.trials = 10,
...
)
|
model |
a list with the structure of the constrained Kriging model. |
x0 |
the initial values for the parameters to be optimized over. |
eval_f |
a function to be minimized, with first argument the vector of parameters over which minimization is to take place. It should return a scalar result. |
lb |
a vector with lower bounds of the params. The params are forced to be positive.
See |
ub |
a vector with upper bounds of the params. See |
opts |
see |
seed |
an optional number. Set a seed to replicate results. |
estim.varnoise |
an optional logical. If |
bounds.varnoise |
a vector with bounds of noise variance. |
add.constr |
an optional logical. If |
additive |
an optional logical. If |
mcmc.opts |
if |
max.trials |
the value of the maximum number of trials when errors are produced by instabilities. |
... |
further arguments passed to or from other methods. |
An optimized lineqGP
model.
This function has to be improved in the future for more stable procedures. Cros-validation (CV) methods could be implemented in future versions.
A. F. Lopez-Lopera.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.