kernel_nn: Generating A Single Matrix-wise Function Using Neural Network

Description Usage Arguments Details Value Author(s) References

View source: R/generate_kernel.R

Description

Generate matrix-wise functions for two matrices using neural network kernel.

Usage

1

Arguments

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.

Details

Neural Network Kernels

k_{NN}(x, x')=\frac{2}{π}sin^{-1}\Big(\frac{2\tilde{x}^T \tilde{x}'}{√{(1+2\tilde{x}^T \tilde{x})(1+2\tilde{x}'^T \tilde{x}')}}\Big)

Value

matrix_wise

(function) A function calculating the relevance of two matrices.

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.