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 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.
Scalar Kernel defines algebraic behavior for kernels of the form K: Index x Index -> Double, i.e. kernel functions whose output is a scalar/double value. Generic behavior for these kernels is given by the ability to add and multiply valid kernels to create new valid scalar kernel functions.