diff options
author | Reza Zadeh <rizlar@gmail.com> | 2014-01-07 17:16:17 -0800 |
---|---|---|
committer | Reza Zadeh <rizlar@gmail.com> | 2014-01-07 17:16:17 -0800 |
commit | 7d7490b67b8d0ff7f731e9ff6328ed0fca3f43c1 (patch) | |
tree | 650420777d51bef8ed971c5fe2c8bccc18727b7c /mllib/src/main | |
parent | 746148bc18d5e25ea93f5ff17a6cb4da9b671b75 (diff) | |
download | spark-7d7490b67b8d0ff7f731e9ff6328ed0fca3f43c1.tar.gz spark-7d7490b67b8d0ff7f731e9ff6328ed0fca3f43c1.tar.bz2 spark-7d7490b67b8d0ff7f731e9ff6328ed0fca3f43c1.zip |
More sparse matrix usage.
Diffstat (limited to 'mllib/src/main')
-rw-r--r-- | mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala | 3 |
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 |