-Re: Item Recommendations - Time based
Ted Dunning 2012-03-12, 18:52
Actually I don't think that you will need to implement your own item similarity.
Just preprocess your input by grouping by user and sorting by time. Then break user sessions into separate "users" and emit the standard user,item,pref format for the mahout processing. The pref will be always 1 in this case.
This should be close to what you need. You might augment this input with the same thing except with a longer horizon for sessions.
Sent from my iPhonen
On Mar 12, 2012, at 11:02 AM, Mridul Kapoor <[EMAIL PROTECTED]> wrote:
> Cool. Thanks.
> So, from whatever I have gathered, now the way forward should be that (and
> again please correct me wherever I may have misunderstood)
> 1. I'll implement my own Custom ItemSimilarity. Use it for precomputation
> of item-item similarity values offline. Save these in a datastore.
> 2. Maybe run the Recommender with a GenericItemSimilarity (using the
> precomputed values) and use Mahout's speedy recommender as a web service -
> and call it in my app.
> Ted - could you delve deeper about the part about the sessions that you
> mentioned - I didnt get it completely, where you mention about virtual
> users etc - I see a window of opportunity here - where I might have to do
> less customization - and save time by using the existing Mahout framework.