square_dist: Computing Square Distance between Two Sets of Variables

Description Usage Arguments Value Author(s) References

View source: R/generate_kernel.R

Description

Compute Squared Euclidean distance between two sets of variables with the same dimension.

Usage

1
square_dist(X1, X2 = NULL, l = 1)

Arguments

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.

Value

dist_sq

(matrix, n1*n2) The computed squared Euclidean distance.

Author(s)

Wenying Deng

References

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


CVEK documentation built on Jan. 8, 2021, 5:42 p.m.