Description Usage Arguments Details Value See Also Examples
Construct a linear kernel.
1 |
columns |
a string vector giving the names of features on which the kernel acts. These will be used to access columns from a dataframe when the kernel is later used in a GP model. |
sigma |
a positive scalar parameter giving (the square-root of) the overall variance of the kernel |
c |
a scalar or vector parameter with continuous support giving the location on the x axis where y = 0 (an x-axis intercept) |
The linear kernel takes the form:
k_{lin}(\mathbf{x}, \mathbf{x}') = σ^2 (\mathbf{x} - c)(\mathbf{x}' - c)
where \mathbf{x} are the covariates on which the kernel is active, c determines the value(s) of x through which all realisations pass and σ^2 is a prior over the slopes of the realisations.
A kernel object for which there are a range of associated functions, see kernel
and access
for details.
Other kernel.constructors: composition
,
expo
, iid
, int
,
mat32
, mat52
,
per
, rbf
, rq
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.