create.kernel.object: Create a kernel object

Description Usage Arguments Value

View source: R/kernels.R

Description

Kernel objects provide a unifying wrapper for the various things which can act as kernels (built-in kernels (represented by strings), model trees, and arbitrary R functions).

Usage

1
2
create.kernel.object(kernel, grad_function = NULL, hess_function = NULL,
  hyperparam_names = character(0), additional_params = list())

Arguments

grad_function

if kernel_function is a function, then this should be a function returning the grad w.r.t. the hyperparameters, otherwise this should be null

hyperparam_names

A character vector of the names of the hyperparameters

additional_params

A list of additional parameters

kernel_function

the kernel function (either a string, a function, or a ModelTree)

Value

A Kernel object


mattdneal/gaussianProcess documentation built on May 21, 2019, 12:58 p.m.