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 ec935ab commit 45ee9b7Copy full SHA for 45ee9b7
mllib/src/main/scala/org/apache/spark/mllib/linalg/distributed/RowMatrix.scala
@@ -347,6 +347,8 @@ class RowMatrix(
347
* The principal components are stored a local matrix of size n-by-k.
348
* Each column corresponds for one principal component,
349
* and the columns are in descending order of component variance.
350
+ * The row data do not need to be "centered" first; it is not necessary for
351
+ * the mean of each column to be 0.
352
*
353
* @param k number of top principal components.
354
* @return a matrix of size n-by-k, whose columns are principal components
0 commit comments