Author: apalumbo
Date: Tue Apr 26 19:39:23 2016
New Revision: 1741090
URL: http://svn.apache.org/viewvc?rev=1741090&view=rev
Log:
CMS commit to mahout by apalumbo
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=1741090&r1=1741089&r2=1741090&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 26 19:39:23 2016
@@ -21,7 +21,7 @@ Sparse vectors:
val sparseVec1 = svec((5 -> 1.0) :: (10 -> 2.0) :: Nil)
// to create a vector with specific cardinality
- val sparseVec1 = svec((5 -> 1.0) :: (10 -> 2.0) :: Nil, cardinality=20)
+ val sparseVec1 = svec((5 -> 1.0) :: (10 -> 2.0) :: Nil, cardinality = 20)
Inline matrix initialization, either sparse or dense, is always done row wise.