You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by dl...@apache.org on 2014/08/20 23:18:58 UTC
svn commit: r1619234 -
/mahout/site/mahout_cms/trunk/content/users/sparkbindings/play-with-shell.mdtext
Author: dlyubimov
Date: Wed Aug 20 21:18:57 2014
New Revision: 1619234
URL: http://svn.apache.org/r1619234
Log:
CMS commit to mahout by dlyubimov
Modified:
mahout/site/mahout_cms/trunk/content/users/sparkbindings/play-with-shell.mdtext
Modified: mahout/site/mahout_cms/trunk/content/users/sparkbindings/play-with-shell.mdtext
URL: http://svn.apache.org/viewvc/mahout/site/mahout_cms/trunk/content/users/sparkbindings/play-with-shell.mdtext?rev=1619234&r1=1619233&r2=1619234&view=diff
==============================================================================
--- mahout/site/mahout_cms/trunk/content/users/sparkbindings/play-with-shell.mdtext (original)
+++ mahout/site/mahout_cms/trunk/content/users/sparkbindings/play-with-shell.mdtext Wed Aug 20 21:18:57 2014
@@ -177,6 +177,8 @@ val drmXwithBiasColumn = drmX.mapBlock(n
}
</pre></div>
+(This looks like a lot of work for something that would be simply `cbind(drmX, 1)` in R. Matrix-scala `cbind` combination is still a TODO in Mahout's dialect.)
+
Now we can give the newly created DRM ```drmXwithBiasColumn``` to our model fitting method ```ols``` and see how well the resulting model fits the training data with ```goodnessOfFit```. You should see a large improvement in the result.
<div class="codehilite"><pre>