You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ma...@apache.org on 2014/01/22 23:02:16 UTC
[33/50] git commit: More sparse matrix usage.
More sparse matrix usage.
Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/7d7490b6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/7d7490b6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/7d7490b6
Branch: refs/heads/master
Commit: 7d7490b67b8d0ff7f731e9ff6328ed0fca3f43c1
Parents: 746148b
Author: Reza Zadeh <ri...@gmail.com>
Authored: Tue Jan 7 17:16:17 2014 -0800
Committer: Reza Zadeh <ri...@gmail.com>
Committed: Tue Jan 7 17:16:17 2014 -0800
----------------------------------------------------------------------
mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/7d7490b6/mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala
----------------------------------------------------------------------
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 a8efdc7..6590e8f 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