deriv_kernel | R Documentation |
This function wraps existing built-in routines to construct the derivative of correlation matrix with respect to correlation parameters.
deriv_kernel(d, range, tail, nu, covmodel)
d |
a matrix or a list of distances returned from |
range |
a vector of range parameters |
tail |
a vector of tail decay parameters |
nu |
a vector of smoothness parameters |
covmodel |
a list of two strings: family, form, where family indicates the family of covariance functions including the Confluent Hypergeometric class, the Matérn class, the Cauchy class, the powered-exponential class. form indicates the specific form of covariance structures including the isotropic form, tensor form, automatic relevance determination form.
|
a list of matrices
Pulong Ma mpulong@gmail.com
CH
, matern
, kernel
, GPBayes-package, GaSP
input = seq(0,1,length=10)
d = distance(input,input,type="isotropic",dtype="Euclidean")
dR = deriv_kernel(d,range=0.5,tail=0.2,nu=2.5,
covmodel=list(family="CH",form="isotropic"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.