pykelihood.kernels.Kernel.

with_covariate#

Kernel.with_covariate(covariate)#

Create a new instance of the kernel with the given covariate.

Parameters:

covariate (array-like) – New covariate values.

Returns:

New kernel instance with updated covariate.

Return type:

Kernel