(Re-)fit an already-constructed WarpKriging object on new data. The warping specification and kernel are kept from construction.
# S3 method for WarpKriging
fit(
object,
y,
X,
regmodel = "constant",
normalize = FALSE,
optim = "BFGS+Adam",
objective = "LL",
parameters = NULL,
noise = NULL,
...
)No return value. WarpKriging object argument is modified.
WarpKriging object (created with the constructor or an empty-kernel call)
numeric vector of observations (n)
numeric matrix of inputs (n x d)
trend: "constant", "linear", "quadratic"
logical; normalise continuous inputs?
optimiser; "none" keeps the values from parameters
"LL" (log-likelihood)
optional named list of initial hyper-parameter values
(theta, warp_params, noise) and/or optimiser knobs
(adam_lr, max_iter_adam, max_iter_bfgs). See
WarpKriging.
numeric vector of per-observation noise variances (length n),
or NULL (default) for noise-free interpolation.
ignored