Skip to content

Commit 0118f2c

Browse files
author
Nick Pentreath
committed
PEP8 fixes
1 parent 3ea88e2 commit 0118f2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/pyspark/mllib/linalg/distributed.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def computeSVD(self, k, computeU=False, rCond=1e-9):
331331
332332
>>> rows = sc.parallelize[[3, 1, 1], [-1, 3, 1]]
333333
>>> rm = RowMatrix(rows)
334-
334+
335335
>>> svd_model = rm.computeSVD(2, True)
336336
>>> svd_model.U.rows.collect()
337337
[DenseVector([-0.7071, 0.7071]), DenseVector([-0.7071, -0.7071])]
@@ -348,7 +348,7 @@ def computeSVD(self, k, computeU=False, rCond=1e-9):
348348
def computePrincipalComponents(self, k):
349349
"""
350350
Computes the k principal components of the given row matrix
351-
351+
352352
.. note:: This cannot be computed on matrices with more than 65535 columns.
353353
354354
:param k: Number of principal components to keep.
@@ -390,7 +390,7 @@ def multiply(self, matrix):
390390
class SingularValueDecomposition(JavaModelWrapper):
391391
"""
392392
Represents singular value decomposition (SVD) factors.
393-
393+
394394
.. versionadded:: 2.2.0
395395
"""
396396

0 commit comments

Comments
 (0)