fit.MLPKriging: Fit an MLPKriging model to data

View source: R/MLPKrigingClass.R

fit.MLPKrigingR Documentation

Fit an MLPKriging model to data

Description

(Re-)fit an already-constructed MLPKriging object on new data. The MLP architecture and kernel are kept from construction.

Usage

## S3 method for class 'MLPKriging'
fit(
  object,
  y,
  X,
  regmodel = "constant",
  normalize = FALSE,
  optim = "BFGS+Adam",
  objective = "LL",
  parameters = NULL,
  ...
)

Arguments

object

MLPKriging object

y

numeric vector of observations (n)

X

numeric matrix of inputs (n x d)

regmodel

trend: "constant", "linear", "quadratic"

normalize

logical; normalise inputs?

optim

optimiser

objective

"LL" (log-likelihood)

parameters

optional named list of tuning parameters

...

ignored

Value

No return value. MLPKriging object argument is modified.


rlibkriging documentation built on May 14, 2026, 1:06 a.m.