get.inst.cov.mats: Get Kernel Instance Covariance Matrices, Grads or Hessians

Description Usage Arguments Value

View source: R/covMatUtils.R

Description

Calculates the covariance matrices (or associated grads) for the kernel instances appearing in a model tree

Usage

1
2
get.inst.cov.mats(x, model.tree, return.type = c("cov", "grad", "hess"),
  cache = NULL)

Arguments

x

A numeric matrix

model.tree

A modelTree object

return.type

Whether to return the covariance matrices, the associated grads, or the hessians

Value

A named list containing covariance matrices (or grad arrays), with one entry for each kernel instance.


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