rbf {CaDENCE} | R Documentation |
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.
rbf(x, x.basis, sigma)
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 |
kernel matrix with number of rows equal to the number of samples and number of columns equal to the number of basis functions.