
Last chance! 50% off unlimited learning
Sale ends in
Compute Squared Euclidean distance between two sets of variables with the same dimension.
square_dist(X1, X2 = NULL, l = 1)
(matrix, n1*p0) The first set of variables.
(matrix, n2*p0) The second set of variables.
(numeric) A numeric number indicating the hyperparameter (flexibility) of a specific kernel.
(matrix, n1*n2) The computed squared Euclidean distance.
The MIT Press. Gaussian Processes for Machine Learning, 2006.