Description Usage Arguments Details Value Author(s) References
View source: R/generate_kernel.R
Generate matrix-wise functions for two matrices using linear kernel.
1 | kernel_linear(l, p, sigma)
|
l |
(numeric) A numeric number indicating the hyperparameter (flexibility) of a specific kernel. |
p |
(integer) For polynomial, p is the power; for matern, v = p + 1 / 2; for rational, alpha = p. |
sigma |
(numeric) The covariance coefficient for neural network kernel. |
Polynomial Kernels
k(x, x')=(x \cdot x')^p
We have intercept kernel when p=0, and linear kernel when p=1.
matrix_wise |
(function) A function calculating the relevance of two matrices. |
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.