Learn R Programming

CVEK (version 0.1-2)

kernel_rbf: Generating A Single Matrix-wise Function Using RBF

Description

Generate matrix-wise functions for two matrices using rbf kernel.

Usage

kernel_rbf(l, p, sigma)

Arguments

l

(numeric) A numeric number indicating the hyperparameter (flexibility) of a specific kernel.

p

(integer) For polynomial, p is the power; for matern, v = p + 1 / 2; for rational, alpha = p.

sigma

(numeric) The covariance coefficient for neural network kernel.

Value

matrix_wise

(function) A function calculating the relevance of two matrices.

Details

Gaussian RBF Kernels $$k_{SE}(r)=exp\Big(-\frac{r^2}{2l^2}\Big)$$

References

The MIT Press. Gaussian Processes for Machine Learning, 2006.