Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9c7817b

Browse filesBrowse files
committed
Merge pull request scikit-learn#2080 from ahojnnes/dist-todo
Remove invalid todo comment
2 parents 7063ad2 + 3139f1d commit 9c7817b
Copy full SHA for 9c7817b

File tree

1 file changed

+0
-2
lines changed
Filter options

1 file changed

+0
-2
lines changed

‎sklearn/metrics/pairwise.py

Copy file name to clipboardExpand all lines: sklearn/metrics/pairwise.py
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,6 @@ def euclidean_distances(X, Y=None, Y_norm_squared=None, squared=False):
173173
raise ValueError(
174174
"Incompatible dimensions for Y and Y_norm_squared")
175175

176-
# TODO: a faster Cython implementation would do the clipping of negative
177-
# values in a single pass over the output matrix.
178176
distances = safe_sparse_dot(X, Y.T, dense_output=True)
179177
distances *= -2
180178
distances += XX

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.