kernCreate: Initialise a kernel structure.

Description Usage Arguments Details Value See Also Examples

View source: R/kernFunctions.R

Description

Initialise a kernel structure.

Usage

1
kernCreate(x, kernType, kernOptions=NULL)

Arguments

x

Input data values (from which kernel will later be computed).

kernType

Type of kernel to be created, some standard types are 'lin', 'rbf', 'white', 'bias' and 'rbfard'. If a cell of the form 'cmpnd', 'rbf', 'lin', 'white' is used a compound kernel based on the sum of the individual kernels will be created. The 'cmpnd' element at the start of the sequence is optional. Furthermore, 'tensor', 'rbf', 'lin' can be used to give a tensor product kernel, whose elements are the formed from the products of the two indvidual kernel's elements and 'multi', 'rbf', ... can be used to create a block structured kernel for use with multiple outputs. Finally the form 'parametric', struct('opt1', val1), 'rbf' can be used to pass options to other kernels.

kernOptions

the kernel options.

Details

kern <- kernCreate(x, kernType) input points and a kernel type.

kern <- kernCreate(dim, kernType) creates a kernel matrix structure given the dimensions of the design matrix and the kernel type.

Value

kern

The kernel structure.

See Also

kernParamInit.

Examples

1
## missing

alkalait/gptk documentation built on March 7, 2020, 6:30 a.m.