renate.shift.kernels module#
- class renate.shift.kernels.RBFKernel(lengthscale=None)[source]#
Bases:
Kernel
A radial basis function kernel.
This kernel has one hyperparameter, a scalar lengthscale. If this is set to
None
(default), the lengthscale will be set adaptively, at _each_ call to the kernel, via the median heuristic.- Parameters:
lengthscale¶ (
Optional
[float
]) – The kernel lengthscale. IfNone
(default), this is set automatically via the median heuristic. Note: In this case, the lengthscale will be reset at each call to the kernel.