mlkernels.kernels.ceq module

class mlkernels.kernels.ceq.CEQ(alpha)[source]

Bases: mlkernels.kernel.Kernel

Causal exponentiated quadratic kernel.

Parameters

alpha (scalar) – Roughness factor.

render(formatter)[source]

Render the element.

This is the lowest-level operation in pretty printing an element, and should produce a string representation of the element. This method should be implemented to determine how to render a custom element.

Parameters

formatter (elements, optional) – Function to format values.

Returns

Rendering of the element.

Return type

str