skshapes.convolutions.squared_distances.KeOpsSquaredDistances
- class skshapes.convolutions.squared_distances.KeOpsSquaredDistances(*, points, cutoff=None, kernel=None, target_points=None)
Bases:
objectSquared distances between points using KeOps.
- Parameters:
points – The points in the source space.
cutoff (
int|float|None) – The cutoff value for the window.kernel (
Callable|None) – The kernel to use.target_points – The points in the target space.
- __init__(*, points, cutoff=None, kernel=None, target_points=None)
Methods
__init__(*, points[, cutoff, kernel, ...])sum(*args, **kwargs)Sum of the kernel.
Attributes
Transpose of the kernel.
- property T
Transpose of the kernel.
- sum(*args, **kwargs)
Sum of the kernel.