Skip to content

Commit 6fce50f

Browse files
authored
DOC Remove old comment in cosine_similarity (scikit-learn#31163)
1 parent d3f9701 commit 6fce50f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sklearn/metrics/pairwise.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1733,8 +1733,6 @@ def cosine_similarity(X, Y=None, dense_output=True):
17331733
array([[0. , 0. ],
17341734
[0.57..., 0.81...]])
17351735
"""
1736-
# to avoid recursive import
1737-
17381736
X, Y = check_pairwise_arrays(X, Y)
17391737

17401738
X_normalized = normalize(X, copy=True)

0 commit comments

Comments
 (0)