gpytorch icon indicating copy to clipboard operation
gpytorch copied to clipboard

[Question] Implementation of ConstantKernel as in sklearn

Open Miguel-Hombrados opened this issue 3 years ago • 1 comments

Is there a constant/bias kernel defined? The equivalent to ".gaussian_process.kernels.ConstantKernel" in sklearn

Thank you!

Miguel-Hombrados avatar Jan 05 '22 02:01 Miguel-Hombrados

Not really, although it looks like from the documentation of sklearn that you can use it as either an outputscale for the kernel analogous to gpytorch's ScaleKernel or as an offset to the mean, analogous to gpytorch's ConstantMean.

wjmaddox avatar Jan 05 '22 15:01 wjmaddox