Author: buildbot
Date: Tue Apr 26 19:36:51 2016
New Revision: 986744

Log:
Staging update by buildbot for mahout

Modified:
    websites/staging/mahout/trunk/content/   (props changed)
    
websites/staging/mahout/trunk/content/users/environment/in-core-reference.html

Propchange: websites/staging/mahout/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Apr 26 19:36:51 2016
@@ -1 +1 @@
-1739667
+1741088

Modified: 
websites/staging/mahout/trunk/content/users/environment/in-core-reference.html
==============================================================================
--- 
websites/staging/mahout/trunk/content/users/environment/in-core-reference.html 
(original)
+++ 
websites/staging/mahout/trunk/content/users/environment/in-core-reference.html 
Tue Apr 26 19:36:51 2016
@@ -296,6 +296,9 @@ val denseVec2 = dvec(1, 0, 1,1 ,1,2)
 <p>Sparse vectors:</p>
 <div class="codehilite"><pre>val sparseVec1: Vector = (5 -&gt; 1.0) :: (10 
-&gt; 2.0) :: Nil
 val sparseVec1 = svec((5 -&gt; 1.0) :: (10 -&gt; 2.0) :: Nil)
+
+// to create a vector with specific cardinality
+val sparseVec1 = svec((5 -&gt; 1.0) :: (10 -&gt; 2.0) :: Nil, cardinality=20)
 </pre></div>
 
 


Reply via email to