Generate matrix-wise functions for two matrices using linear kernel.
kernel_linear(l, p, sigma)
(numeric) A numeric number indicating the hyperparameter (flexibility) of a specific kernel.
(integer) For polynomial, p is the power; for matern, v = p + 1 / 2; for rational, alpha = p.
(numeric) The covariance coefficient for neural network kernel.
(function) A function calculating the relevance of two matrices.
Polynomial Kernels $$k(x, x')=(x \cdot x')^p$$ We have intercept kernel when \(p=0\), and linear kernel when \(p=1\).
The MIT Press. Gaussian Processes for Machine Learning, 2006.