Hi Sean,

Thanks for your quick reply :)
I have looked into the PlusAnonymousUserDataModel, but it provides 
recommendation for only one user at a time.
Actually I want to calculate the recall and precision values and for that I 
need to get recommendations on the test data which offcourse should not be 
there in training data.
Is there any way to do this or I have to get into the code ?

Thanks And Regards
Utkarsh


-----Original Message-----
From: Sean Owen [mailto:[email protected]] 
Sent: Monday, May 21, 2012 6:29 PM
To: [email protected]
Subject: Re: Getting Recommendation for User not in Input Data

You can't get recommendations for that user -- there is no data on which to 
recommend anything. The system knows nothing about the user.

The best you can do is temporarily add the user. See PlusAnonymousUserDataModel.

On Mon, May 21, 2012 at 1:28 PM, Utkarsh Gupta <[email protected]> 
wrote:
> Hi All,
>
>
> I am using org.apache.mahout.cf.taste.hadoop.item.RecommenderJob
> For getting recommendations for a dataset with ratings.
>
> But this class provides recommendation for only those users whose preferences 
> are already in the input file.
> How can I get recommendations for a new user whose item preferences are not 
> present in the input file (anonymous user).
>
> Thanks and Regards
> Utkarsh Gupta
>
>
>
> **************** CAUTION - Disclaimer ***************** This e-mail 
> contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for 
> the use of the addressee(s). If you are not the intended recipient, 
> please notify the sender by e-mail and delete the original message. 
> Further, you are not to copy, disclose, or distribute this e-mail or 
> its contents to any other person and any such actions are unlawful. 
> This e-mail may contain viruses. Infosys has taken every reasonable 
> precaution to minimize this risk, but is not liable for any damage you 
> may sustain as a result of any virus in this e-mail. You should carry 
> out your own virus checks before opening the e-mail or attachment. 
> Infosys reserves the right to monitor and review the content of all 
> messages sent to or from this e-mail address. Messages sent to or from this 
> e-mail address may be stored on the Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***

Reply via email to