pykelihood.kernels.

Kernel#

class Kernel(f, x=None, fname=None, **params)#

Represents a kernel function of one covariate with parameters.

Parameters:
  • f (callable) – The kernel function to be wrapped.

  • x (array-like, optional) – Covariates on which the kernel will operate.

  • fname (str, optional) – Name of the kernel function.

  • params (dict) – Parameters of the kernel function.