radial_kernel | R Documentation |
calculates the Gaussian Kernel value of two inputs
radial_kernel(x, y, gamma_squared)
x |
first input vector |
y |
second input vector |
gamma_squared |
width of the kernel |
gaussian kernel value
{ x <- runif(n=10) y <- runif(n=10) SVHM:::radial_kernel(x,y,.5) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.