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 2015/03/08 18:16:42 UTC
svn commit: r942888 - in /websites/staging/mahout/trunk/content: ./
users/recommender/quickstart.html
Author: buildbot
Date: Sun Mar 8 17:16:42 2015
New Revision: 942888
Log:
Staging update by buildbot for mahout
Modified:
websites/staging/mahout/trunk/content/ (props changed)
websites/staging/mahout/trunk/content/users/recommender/quickstart.html
Propchange: websites/staging/mahout/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Mar 8 17:16:42 2015
@@ -1 +1 @@
-1665055
+1665057
Modified: websites/staging/mahout/trunk/content/users/recommender/quickstart.html
==============================================================================
--- websites/staging/mahout/trunk/content/users/recommender/quickstart.html (original)
+++ websites/staging/mahout/trunk/content/users/recommender/quickstart.html Sun Mar 8 17:16:42 2015
@@ -247,7 +247,7 @@
<div id="main">
<h1 id="recommender-overview">Recommender Overview</h1>
<p>Recommenders have changed over the years. Mahout contains a long list of them, which you can still use. But to get the best out of our more modern aproach we'll need to think of the Recommender as a "model creation" component—supplied by Mahout's new spark-itemsimilarity job, and a "serving" component—supplied by a modern scalable search engine, like Solr.</p>
-<p><img alt="image" src="http://s6.postimg.org/r0m8bpjw1/recommender_architecture.png" /></p>
+<p><img alt="image" src="http://i.imgur.com/fliHMBo.png" /></p>
<p>To integrate with your application you will collect user interactions storing them in a DB and also in a from usable by Mahout. The simplest way to do this is log interactions to csv files (user-id, item-id). The DB should be setup to contain the last n user interactions, which will form part of the query for recommendations.</p>
<p>Mahout's spark-itemsimilarity will create a table of (item-id, list-of-similar-items) in csv form. Think of this as an item collection with one field containing the item-ids of similar items. Index this with your search engine. </p>
<p>When your application needs recommendations for a specific person, get the latest user history of interactions from the DB and query the indicator collection with this history. You will get back an ordered list of item-ids. These are your recommendations. You may wish to filter out any that the user has already seen but that will depend on your use case.</p>