Conditional definition of numba function ins sliningNN clustering
@@ -472,7 +472,7 @@ def build_windowed_nn_graph(
)
return nn_idx, nn_dist
-
+if HAVE_NUMBA:
@numba.jit(fastmath=True, cache=True)
def sparse_euclidean(x, y, n_samples, n_dense):
"""Euclidean distance metric over sparse vectors, where first n_dense
