rbfKernDiagGradX: Gradient of RBF kernel's diagonal with respect to X.

Description Usage Arguments Value See Also Examples

Description

computes the gradient of the diagonal of the radial basis function kernel matrix with respect to the elements of the design matrix given in X.

Usage

1

Arguments

kern

the kernel structure for which gradients are being computed.

X

the input data in the form of a design matrix.

Value

gX

the gradients of the diagonal with respect to each element of X. The returned matrix has the same dimensions as X.

See Also

rbfKernParamInit, kernDiagGradX, rbfKernGradX.

Examples

1
## missing

Example output

Loading required package: Matrix
Loading required package: fields
Loading required package: spam
Loading required package: dotCall64
Loading required package: grid
Spam version 2.1-1 (2017-07-02) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction 
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.

Attaching package: 'spam'

The following objects are masked from 'package:base':

    backsolve, forwardsolve

Loading required package: maps

gptk documentation built on May 2, 2019, 3:27 p.m.

Related to rbfKernDiagGradX in gptk...