Computes the Gaussian RBF kernel k(x,x') = exp(-|x-x'|^2/(2*sigma^2)).
Input matrix of covariates with samples in rows.
Bandwidth of the Gaussian RBF kernel. Default is 1.
(Optional) a second matrix of covariates with samples in rows.
x2 is provided, returns the kernel matrix crossing samples
x and samples in
x2 is not provided, returns the kernel
Gram matrix of
x versus itself.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.