"covRadial"
Class of radial covariance kernels.
Objects can be created by calls of the form covRadial(...)
of
new("covRadial", ...)
.
k1Fun1
:Object of class "function"
A function of a scalar numeric
variable. Note that using a one-dimensional kernel here does
not warrant that a positive semi-definite kernel results for any
dimension \(d\).
k1Fun1Char
:Object of class "character"
describing the function in the
slot k1Fun1
.
hasGrad
:Object of class "logical"
. Tells if the value returned by
the function kern1Fun
has an attribute named "der"
giving the derivative(s).
cov
:Object of class "integer"
. The value 0L
corresponds
to a correlation kernel while 1L
is for a covariance
kernel.
iso
:Object of class "integer"
. The value 1L
corresponds
to an isotropic covariance, with all the inputs sharing the same
range value.
label
:Object of class "character"
. Short description of the
object.
d
:Object of class "integer"
. Dimension, i.e. number of
inputs.
inputNames
:Object of class "optCharacter"
. Names of the inputs.
parLower
:Object of class "numeric"
. Numeric values for the lower
bounds on the parameters. Can be -Inf
.
parUpper
:Object of class "numeric"
. Numeric values for the upper
bounds on the parameters. Can be Inf
.
par
:Object of class "numeric"
. Numeric values for the
parameters. Can be NA
.
parN1
:Object of class "integer"
. Number of parameters of the
function kern1Fun
(such as a shape).
parN
:Object of class "integer"
. Number of parameters for the
object. The include: direct parameters in the function
kern1Fun
, ranges, and variance.
kern1ParNames
:Object of class "character"
. Names of the direct
parameters.
kernParNames
:Object of class "character"
. Names of the parameters.
Class "covAll"
, directly.
signature(object = "covRadial", value = "numeric")
: Set the
vector of values for the parameters.
signature(object = "covRadial")
: Set the vector of lower
bounds on the parameters.
signature(object = "covRadial")
: Get the vector of
lower bounds on the parameters.
signature(object = "covRadial")
: Get the vector of values
for the parameters.
signature(object = "covRadial")
: Set the vector of upper
bounds on the parameters.
signature(object = "covRadial")
: Get the vector of upper
bounds on the parameters.
signature(object = "covRadial")
: Compute the covariance
matrix for given sites.
signature(object = "covRadial")
: Get the number of
parameters.
signature(object = "covRadial")
: Compute the scores
i.e. the derivatives w.r.t. the parameters of the contribution of
the covariance in the log-likelihood of a gp
.
signature(object = "covRadial")
: Print or show the object.
signature(object = "covRadial")
: Compute the variance
vector for given sites.
The creator function covRadial
, where some details are
given on the form of kernel. covMan
and
covMan
for a comparable but more general class.