io.github.mandar2812.dynaml.kernels
The center of the spectral power distribution.
The std deviation of the spectral power distribution.
A reversible transformation to convert the kernel's state from a Map to tuple of T, implemented as an Encoder
Returns the kernel multiplied by a positive constant: k_new = k*c
Returns the kernel multiplied by a positive constant: k_new = k*c
Create composite kernel k = k1 * k2
Create composite kernel k = k1 * k2
The kernel to multiply to the current one.
The kernel k defined above.
Create composite kernel k = k1 + k2
Create composite kernel k = k1 + k2
param otherKernel The kernel to add to the current one. return The kernel k defined above.
Construct the kronecker product kernel
Construct the kronecker product kernel
Construct a 2 layer kernel K = k1 > rbf
Construct a 2 layer kernel K = k1 > rbf
Get a pipeline which when given a particular configuration of hyper-parameters returns this kernel function set with that configuration.
Get a pipeline which when given a particular configuration of hyper-parameters returns this kernel function set with that configuration.
Helper function to output the center and scale
A reversible data pipe which can convert a configuration into a tuple of T containing the center and scale of the underlying gaussian spectral density.
A reversible data pipe which can convert a configuration into a tuple of T containing the center and scale of the underlying gaussian spectral density.
All classes extending GaussianSpectralKernel need to implement this encoding.
Implements the gaussian spectral mixture kernel as outlined in Wilson et. al.
The kernel is defined as the inverse fourier transform of a gaussian spectral density as is shown by Bochner's theorem.
K(d) = exp(-2π2 dTΣ-1d) × cos(2πμTd)
The domain over which the kernel is defined