mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r948662 - in /websites/staging/mahout/trunk/content: ./ users/environment/how-to-build-an-app.html
Date Tue, 21 Apr 2015 18:53:50 GMT
Author: buildbot
Date: Tue Apr 21 18:53:50 2015
New Revision: 948662

Log:
Staging update by buildbot for mahout

Modified:
    websites/staging/mahout/trunk/content/   (props changed)
    websites/staging/mahout/trunk/content/users/environment/how-to-build-an-app.html

Propchange: websites/staging/mahout/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Apr 21 18:53:50 2015
@@ -1 +1 @@
-1675182
+1675183

Modified: websites/staging/mahout/trunk/content/users/environment/how-to-build-an-app.html
==============================================================================
--- websites/staging/mahout/trunk/content/users/environment/how-to-build-an-app.html (original)
+++ websites/staging/mahout/trunk/content/users/environment/how-to-build-an-app.html Tue Apr
21 18:53:50 2015
@@ -346,10 +346,10 @@ def readActions<span class="p">(</span>a
 <p>All we need to do now is write the indicators.</p>
 <div class="codehilite"><pre><span class="c1">// zip a pair of arrays into
an array of pairs, reattaching the action names</span>
 <span class="n">val</span> <span class="n">indicatorDescriptions</span>
<span class="o">=</span> <span class="n">actions</span><span class="p">.</span><span
class="n">map</span><span class="p">(</span><span class="n">a</span>
<span class="o">=&gt;</span> <span class="n">a</span><span
class="p">.</span><span class="n">_1</span><span class="p">).</span><span
class="n">zip</span><span class="p">(</span><span class="n">indicatorMatrices</span><span
class="p">)</span>
+<span class="n">writeIndicators</span><span class="p">(</span><span
class="n">indicatorDescriptions</span><span class="p">)</span>
 </pre></div>
 
 
-<p>writeIndicators(indicatorDescriptions)</p>
 <p>The <code>writeIndicators</code> method uses the default write function
<code>dfsWrite</code>.</p>
 <div class="codehilite"><pre><span class="o">/**</span>
  <span class="o">*</span> Write indicatorMatrices to the output dir in the default
format
@@ -397,8 +397,7 @@ def writeIndicators<span class="p">(</sp
 
 <span class="n">packSettings</span>
 
-<span class="n">packMain</span> <span class="p">:=</span> <span
class="n">Map</span><span class="p">(</span>
-  &quot;<span class="n">cooc</span>&quot; <span class="o">-&gt;</span>
&quot;<span class="n">CooccurrenceDriver</span>&quot;<span class="p">)</span>
+<span class="n">packMain</span> <span class="p">:=</span> <span
class="n">Map</span><span class="p">(</span>&quot;<span class="n">cooc</span>&quot;
<span class="o">-&gt;</span> &quot;<span class="n">CooccurrenceDriver</span>&quot;<span
class="p">)</span>
 </pre></div>
 
 



Mime
View raw message