aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorReza Zadeh <rizlar@gmail.com>2014-01-07 17:16:17 -0800
committerReza Zadeh <rizlar@gmail.com>2014-01-07 17:16:17 -0800
commit7d7490b67b8d0ff7f731e9ff6328ed0fca3f43c1 (patch)
tree650420777d51bef8ed971c5fe2c8bccc18727b7c /mllib
parent746148bc18d5e25ea93f5ff17a6cb4da9b671b75 (diff)
downloadspark-7d7490b67b8d0ff7f731e9ff6328ed0fca3f43c1.tar.gz
spark-7d7490b67b8d0ff7f731e9ff6328ed0fca3f43c1.tar.bz2
spark-7d7490b67b8d0ff7f731e9ff6328ed0fca3f43c1.zip
More sparse matrix usage.
Diffstat (limited to 'mllib')
-rw-r--r--mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala b/mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala
index a8efdc787e..6590e8f357 100644
--- a/mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala
+++ b/mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala
@@ -74,7 +74,8 @@ object SVD {
* V is n x k and satisfies V'V = eye(k)
*
* All input and output is expected in sparse matrix format, 1-indexed
- * as tuples of the form ((i,j),value) all in RDDs
+ * as tuples of the form ((i,j),value) all in RDDs using the
+ * SparseMatrix class
*
* @param matrix sparse matrix to factorize
* @param k Recover k singular values and vectors