get_covariance_matrix.ModelTree: Get the Covariance Matrix for a Kernel ModelTree

Description Usage Arguments Value

View source: R/covMatUtils.R

Description

Get the Covariance Matrix for a Kernel ModelTree

Usage

1
2
3
## S3 method for class 'ModelTree'
get_covariance_matrix(kernel, x, sigma.n, hyper.params,
  additional.params = list(), cache = NULL)

Arguments

kernel

A ModelTree object

x

A matrix of data to find the covariance matrix of

sigma.n

The standard deviation of the noise to add to the kernel - used to regularise the resulting covariance matrix

hyper.params

The hyperparameters of kernel

additional.params

an empty list (not used for ModelTree objects)

Value

A covariance matrix


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