kernTest: Run some tests on the specified kernel.

Description Usage Arguments Value See Also Examples

Description

runs some tests on a given kernel structure to ensure it is correctly implemented.

Usage

1
  kernTest(kernType, numIn=4, tieParamNames=list(), testindex=NULL)

Arguments

kernType

type of kernel to test. For example, 'rbf' or 'cmpnd', 'rbf', 'lin', 'white'.

numIn

the number of input dimensions (default is 4).

tieParamNames

list of regular expressions for parameter names that should be tied (default is none).

testindex

indices of the covariance gradient to test for.

Value

kern

the kernel as it was used in the tests.

See Also

kernCreate.

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 kernTest in gptk...