You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by bu...@apache.org on 2014/08/20 23:19:01 UTC

svn commit: r919951 - in /websites/staging/mahout/trunk/content: ./ users/sparkbindings/play-with-shell.html

Author: buildbot
Date: Wed Aug 20 21:19:01 2014
New Revision: 919951

Log:
Staging update by buildbot for mahout

Modified:
    websites/staging/mahout/trunk/content/   (props changed)
    websites/staging/mahout/trunk/content/users/sparkbindings/play-with-shell.html

Propchange: websites/staging/mahout/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Aug 20 21:19:01 2014
@@ -1 +1 @@
-1619230
+1619234

Modified: websites/staging/mahout/trunk/content/users/sparkbindings/play-with-shell.html
==============================================================================
--- websites/staging/mahout/trunk/content/users/sparkbindings/play-with-shell.html (original)
+++ websites/staging/mahout/trunk/content/users/sparkbindings/play-with-shell.html Wed Aug 20 21:19:01 2014
@@ -471,6 +471,7 @@ val drmXwithBiasColumn = drmX.mapBlock(n
 }
 </pre></div>
 
+<p>(This looks like a lot of work for something that would be simply <code>cbind(drmX, 1)</code> in R. Matrix-scala <code>cbind</code> combination is still a TODO in Mahout's dialect.)</p>
 <p>Now we can give the newly created DRM <code>drmXwithBiasColumn</code> to our model fitting method <code>ols</code> and see how well the resulting model fits the training data with <code>goodnessOfFit</code>. You should see a large improvement in the result.</p>
 <div class="codehilite"><pre>
 val betaWithBiasTerm = ols(drmXwithBiasColumn, y)