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:01:56 UTC
[13/50] git commit: doc tweak
doc tweak
Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/97dc5278
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/97dc5278
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/97dc5278
Branch: refs/heads/master
Commit: 97dc527849b836703811acdbd6767685585099df
Parents: b941b6f
Author: Reza Zadeh <ri...@gmail.com>
Authored: Wed Jan 1 20:02:37 2014 -0800
Committer: Reza Zadeh <ri...@gmail.com>
Committed: Wed Jan 1 20:02:37 2014 -0800
----------------------------------------------------------------------
docs/mllib-guide.md | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/97dc5278/docs/mllib-guide.md
----------------------------------------------------------------------
diff --git a/docs/mllib-guide.md b/docs/mllib-guide.md
index 08d6d74..8c490eb 100644
--- a/docs/mllib-guide.md
+++ b/docs/mllib-guide.md
@@ -215,17 +215,18 @@ Available algorithms for gradient descent:
# Singular Value Decomposition
Singular Value Decomposition for Tall and Skinny matrices.
-Given an m x n matrix A, this will compute matrices U, S, V such that
-A = U * S * V^T
+Given an *m x n* matrix *A*, this will compute matrices *U, S, V* such that
+
+*A = U * S * V^T*
There is no restriction on m, but we require n^2 doubles to fit in memory.
Further, n should be less than m.
-The decomposition is computed by first computing A^TA = V S^2 V^T,
+The decomposition is computed by first computing *A^TA = V S^2 V^T*,
computing svd locally on that (since n x n is small),
from which we recover S and V.
Then we compute U via easy matrix multiplication
-as U = A * V * S^-1
+as *U = A * V * S^-1*
Only singular vectors associated with singular values
greater or equal to MIN_SVALUE are recovered. If there are k