We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da7f009 commit 9e58bcdCopy full SHA for 9e58bcd
sklearn/utils/extmath.py
@@ -54,8 +54,8 @@ def squared_norm(x):
54
def row_norms(X, squared=False):
55
"""Row-wise (squared) Euclidean norm of X.
56
57
- Equivalent to (X * X).sum(axis=1), but also supports CSR sparse matrices
58
- and does not create an X.shape-sized temporary.
+ Equivalent to np.sqrt((X * X).sum(axis=1)), but also supports CSR sparse
+ matrices and does not create an X.shape-sized temporary.
59
60
Performs no input validation.
61
"""
0 commit comments