Description Usage Arguments Value Author(s) References
View source: R/generate_kernel.R
Compute Squared Euclidean distance between two sets of variables with the same dimension.
1 | square_dist(X1, X2 = NULL, l = 1)
|
X1 |
(matrix, n1*p0) The first set of variables. |
X2 |
(matrix, n2*p0) The second set of variables. |
l |
(numeric) A numeric number indicating the hyperparameter (flexibility) of a specific kernel. |
dist_sq |
(matrix, n1*n2) The computed squared Euclidean distance. |
Wenying Deng
The MIT Press. Gaussian Processes for Machine Learning, 2006.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.