rbf {CaDENCE}R Documentation

Radial basis function kernel

Description

Evaluate a kernel matrix based on the radial basis function kernel. Can be used in conjunction with cadence.fit with hidden.fcn set to identity and sd.norm set to a value less than infinity to implement a kernel CDEN model.

Usage

rbf(x, x.basis, sigma)

Arguments

x

matrix with number of rows equal to the number of samples and number of columns equal to the number of predictors.

x.basis

matrix with number of rows equal to the number of basis functions and number of columns equal to the number of predictors.

sigma

kernel width

Value

kernel matrix with number of rows equal to the number of samples and number of columns equal to the number of basis functions.

See Also

cadence.fit


[Package CaDENCE version 1.2.5 Index]