matern32#
- luas.kernels.matern32(x: Array, y: Array, L: Any) Array [source]#
Matern 3/2 kernel function, used with
luas.kernels.evaluate_kernel
to build covariance matrices.\[k(x, y) = \Bigg(1 + \sqrt{3} \frac{|x - y|}{L}\Bigg) \exp\Bigg( -\sqrt{3} \frac{|x - y|}{L}\Bigg)\]- Parameters:
x (JAXArray) – Input vector 1
y (JAXArray) – Input vector 2
L (Scalar) – Length scale
- Returns:
Covariance between two input vectors
- Return type:
Scalar