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)
matrix with number of rows equal to the number of samples and number of columns equal to the number of predictors.
matrix with number of rows equal to the number of basis functions and number of columns equal to the number of predictors.
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.