forked from statmlhb/CVEK
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkernel_intercept.Rd
32 lines (31 loc) · 893 Bytes
/
kernel_intercept.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/generate_kernel.R
\name{kernel_intercept}
\alias{kernel_intercept}
\title{Generating A Single Matrix-wise Function Using Intercept}
\usage{
kernel_intercept(l, d)
}
\arguments{
\item{l}{(numeric) A numeric number indicating the hyperparameter
(flexibility) of a specific kernel.}
\item{d}{(integer) For polynomial, d is the power; for matern, v = d + 1 /
2; for rational, alpha = d.}
}
\value{
\item{matrix_wise}{(function) A function calculating the relevance
of two matrices.}
}
\description{
Generate matrix-wise functions for two matrices using intercept kernel.
}
\details{
\bold{Polynomial Kernels} \deqn{k(x, x')=(x \cdot x')^d} We have intercept
kernel when \eqn{d=0}, and linear kernel when \eqn{d=1}.
}
\references{
The MIT Press. Gaussian Processes for Machine Learning, 2006.
}
\author{
Wenying Deng
}