spatial_ops package

Submodules

spatial_ops.knn module

Summary

spatial_ops.knn.get_nn(x: numpy.ndarray, k: int) → tuple[source]

get k nearest neighbors and their distance :param x: Description :type x: numpy.ndarray :param k: number of clusters :type k: int

Returns

distances, indices

Return type

tuple

spatial_ops.version module

Module contents

spatial_ops.pure_python()[source]

hello