rbf: Radial basis function kernel

Description Usage Arguments Value See Also

View source: R/rbf.R

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

1
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


CaDENCE documentation built on Dec. 5, 2017, 9:03 a.m.