Learn R Programming

gptk (version 1.06)

whiteKernGradX: Gradient of WHITE kernel with respect to input locations.

Description

computes the gradident of the white noise kernel with respect to the input positions where both the row positions and column positions are provided separately.

Usage

whiteKernGradX(kern, x1, x2)

Arguments

kern
kernel structure for which gradients are being computed.
x1
row locations against which gradients are being computed.
x2
column locations against which gradients are being computed.

Value

  • gthe returned gradients. The gradients are returned in a matrix which is numData2 x numInputs x numData1. Where numData1 is the number of data points in X1, numData2 is the number of data points in X2 and numInputs is the number of input dimensions in X.

Examples

Run this code
## missing

Run the code above in your browser using DataLab