mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 张玉东 <zhangyud...@vancl.cn>
Subject Re: Collaborative filtering help needed
Date Tue, 08 Nov 2011 09:55:27 GMT
I think he means that he want to get an estimated score for specific item corresponding to
each user, thus the item is not scored by the user.

-----邮件原件-----
发件人: Sean Owen [mailto:srowen@gmail.com] 
发送时间: 2011年11月8日 17:52
收件人: user@mahout.apache.org
主题: Re: Collaborative filtering help needed

I'm not sure what you are asking then. Taking your first email literally it
sounds like you want to estimate the ratings you already know! Do you want
1 rec per user?
On Nov 8, 2011 9:47 AM, "Akshay Jain" <jakshay@gmail.com> wrote:

> Sean, that can be done, but I don't want to get the same item's prediction
> for all the users. Is there no other way than to manually code it? (I dont
> know java, so I dont think that would be possible for me :( )
>
> On Tue, Nov 8, 2011 at 3:02 PM, Sean Owen <srowen@gmail.com> wrote:
>
> > I think specifying an item file with one item does it? You should get one
> > rec for most users that is that item.
> > On Nov 8, 2011 9:25 AM, "Akshay Jain" <jakshay@gmail.com> wrote:
> >
> > > Hi.
> > >
> > > Let me first say a BIG "THANKS" to the Mahout community and the authors
> > of
> > > the book "Mahout In Action". I have just started with Hadoop and Mahout
> > and
> > > am finding them extremely useful.
> > >
> > > I am running the following code:
> > > hadoop jar mahout-core-0.5-job.jar
> > > org.apache.mahout.cf.taste.hadoop.item.RecommenderJob
> > > -Dmapred.input.dir=input/input.txt -Dmapred.output.dir=output
> --userFile
> > > input/users.txt --BooleanData
> > >
> > > How do I specify that I want to get predictions for only specific items
> > and
> > > not the top 10 recommedations for the specified users in the
> "usersFile"
> > > file?
> > > I want to enter the file as following:
> > > User1,Item23
> > > User1,item344
> > > User2,item12
> > > user56,236
> > > etc
> > > and want to get results like:
> > >  User1,Item23,Predictd_Rating=4.5
> > > User1,item344,  Predictd_Rating=8
> > > User2,item12,  Predictd_Rating=1
> > > user56,236,  Predictd_Rating=2
> > > etc
> > >
> > > I can specify a "itemsFile" but that would not serve the purpose as I
> do
> > > not want to specify a ItemsList from where to get the recommendations.
> I
> > > want only one recommendation for the User*Item combination that I have
> to
> > > be predicted.
> > >
> > > Thank you.
> > >
> >
>
Mime
View raw message