You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by ap...@apache.org on 2015/04/14 03:51:46 UTC
svn commit: r1673336 -
/mahout/site/mahout_cms/trunk/content/users/environment/in-core-reference.mdtext
Author: apalumbo
Date: Tue Apr 14 01:51:46 2015
New Revision: 1673336
URL: http://svn.apache.org/r1673336
Log:
add an import for decompositions
Modified:
mahout/site/mahout_cms/trunk/content/users/environment/in-core-reference.mdtext
Modified: mahout/site/mahout_cms/trunk/content/users/environment/in-core-reference.mdtext
URL: http://svn.apache.org/viewvc/mahout/site/mahout_cms/trunk/content/users/environment/in-core-reference.mdtext?rev=1673336&r1=1673335&r2=1673336&view=diff
==============================================================================
--- mahout/site/mahout_cms/trunk/content/users/environment/in-core-reference.mdtext (original)
+++ mahout/site/mahout_cms/trunk/content/users/environment/in-core-reference.mdtext Tue Apr 14 01:51:46 2015
@@ -183,6 +183,11 @@ will not therefore incur any additional
#### Decompositions
+Matrix decompositions require an additional import:
+
+ import org.apache.mahout.math.decompositions._
+
+
All arguments in the following are matricies.
**Cholesky decomposition**
@@ -195,7 +200,7 @@ All arguments in the following are matri
**EigenDecomposition**
- val (Q, R) = eigen(M)
+ val (V, d) = eigen(M)
**QR decomposition**
@@ -248,16 +253,16 @@ Copy-By-Value:
#### Random Matrices
-`\(\mathcal{U}\)`*(0,1) random matrix view*
+`\(\mathcal{U}\)`(0,1) random matrix view:
val incCoreA = Matrices.uniformView(m, n, seed)
-`\(\mathcal{U}\)`*(-1,1) random matrix view*
+`\(\mathcal{U}\)`(-1,1) random matrix view:
val incCoreA = Matrices.symmetricUniformView(m, n, seed)
-`\(\mathcal{N}\)`*(-1,1) random matrix view*
+`\(\mathcal{N}\)`(-1,1) random matrix view:
val incCoreA = Matrices.gaussianView(m, n, seed)