Skip to content

Commit 9b98bb1

Browse files
author
Mohamed-Elyes Kanoun
committed
another commit one
1 parent 4c99fc7 commit 9b98bb1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graphtools/graphs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,7 @@ def build_landmark_op(self):
660660
# if n_samples > 5000 and self.distance == "euclidean": ( sklearn.euclidean_distances is faster than cdist for big dataset)
661661
# distances = euclidean_distances(data, data[landmark_indices])
662662
# this is a futur optimization for the euclidean case
663+
#
663664
distances = cdist(data, data[landmark_indices], metric=self.distance)
664665
self._clusters = np.argmin(distances, axis=1)
665666

0 commit comments

Comments
 (0)