mlkernels.kernels.log module

class mlkernels.kernels.log.LogKernel[source]

Bases: mlkernels.kernel.Kernel

Logarithm kernel.

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