Thanks Nick. As I mentioned earleir I am getting ratings only for the top
recommended products instead of ratings for 4000 products I am giving
numRecommendations parameter to 4000 and maxPrefsPerUser to 4000. Should
it give 4000 items in the list for each user ? For some reasons the output
for items which are having lower ratings is not displayed. I see the
default limit is 10.
I am not sure if I am not getting ratings for 4000 items because I am
passing the wrong options for the mahout version or is it an issue with
mahout ver 0.7. I am using 0.7 -mahout-examples-0.7-cdh4.3.1.jar .
I see the parameter name changed in the latest version I checked from git
- 0.9-SNAPSHOT
maxPrefsPerUserConsidered = jobConf.getInt(MAX_PREFS_PER_USER_CONSIDERED,
DEFAULT_MAX_PREFS_PER_USER_CONSIDERED);
Will using a latest version help ?
On Sun, Sep 29, 2013 at 12:29 PM, Martin, Nick <NiMartin@pssd.com> wrote:
> There should be a score after each recommended item (i.e. 123456:2.6) in
> your output. Lower scores would be the ones you're interested in.
>
> Sent from my iPhone
>
> On Sep 28, 2013, at 8:25 AM, "Deepak Subhramanian" <
> deepak.subhramanian@gmail.com> wrote:
>
> > Hi
> >
> > I am trying to predict the ratings for some items for some users using
> item
> > based collaborative filtering. I tried using the mahout
> recommenditembased
> > , but it shows only the top 10 items or I can increase it by passing the
> > --numRecommendations parameter. But it doesnt shows items which has lower
> > predicted rating . What is the best approach to get ratings for items
> which
> > has low predicted rating ?
> >
> >
> > I tried this command.
> >
> > mahout recommenditembased --input mahoutrecoinput --usersFile
> > recouserlist --itemsFile recoitemlist --output
> > /mahoutrecooutputpearsonnew -s SIMILARITY_PEARSON_CORRELATION
> > --numRecommendations 4000 --maxPrefsPerUser 4000
> >
> > Also I tried using the estimatePreference method on the recommender.
> >
> > Please help .
>
--
Deepak Subhramanian
|