File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,11 +87,11 @@ def compute_cross_nn_distances(
8787):
8888 """Compute distances, up to neighbour maxk, between points of X_new and points of X.
8989
90- The element distances[i,j] represents the distance between point i in dataset X and its j-th neighbour in dataset
91- X_new , whose index is dist_indices[i,j]
90+ The element distances[i,j] represents the distance between point i in dataset X_new and its j-th neighbour in dataset
91+ X , whose index is dist_indices[i,j]
9292
9393 Args:
94- X_new (np.array(float)): dataset from which distances are computed
94+ X_new (np.array(float)): dataset (N points) from which distances are computed
9595 X (np.array(float)): starting dataset of points, from which distances are computed
9696 maxk (int): number of neighbours to save
9797 metric (str): metric used to compute the distances
You can’t perform that action at this time.
0 commit comments