ott.geometry.graph.Graph.apply_kernel

ott.geometry.graph.Graph.apply_kernel#

Graph.apply_kernel(scaling, eps=None, axis=0)[source]#

Apply kernel_matrix on positive scaling vector.

Parameters:
  • scaling (Array) – Scaling to apply the kernel to.

  • eps (Optional[float]) – passed for consistency, not used yet.

  • axis (int) – passed for consistency, not used yet.

Return type:

Array

Returns:

Kernel applied to scaling.