Hi Sebastian, Thank you for modifying my patch and committed it.
On 6 May 2014 15:03, Sebastian Schelter (JIRA) <[email protected]> wrote: > > [ > https://issues.apache.org/jira/browse/MAHOUT-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > Sebastian Schelter updated MAHOUT-1428: > --------------------------------------- > > Resolution: Fixed > Status: Resolved (was: Patch Available) > > Dodi, > > I committed your patch with some changes (and some fixes to meet our code > conventions). Thank you for your contribution! > > > Recommending already consumed items > > ----------------------------------- > > > > Key: MAHOUT-1428 > > URL: https://issues.apache.org/jira/browse/MAHOUT-1428 > > Project: Mahout > > Issue Type: Bug > > Components: Collaborative Filtering > > Affects Versions: 1.0 > > Reporter: Mario Levitin > > Labels: easyfix > > Fix For: 1.0 > > > > Attachments: MAHOUT-1428.patch > > > > > > Mahout does not recommend items which are already consumed by the user. > > For example, > > In the getAllOtherItems method of GenericUserBasedRecommender class > there is the following line > > possibleItemIDs.removeAll(dataModel.getItemIDsFromUser(theUserID)); > > which removes user's items from the possibleItemIDs to prevent these > items from being recommended to the user. This is ok for many > recommendation cases but for many other cases it is not. > > The Recommender classes (I mean all of them, NN-based and SVD-based as > well as hadoop and non-hadoop versions) might have a parameter for this for > excluding or not excluding user items in the returned recommendations. > > > > -- > This message was sent by Atlassian JIRA > (v6.2#6252) > -- Best Regards, Dodi Amar Hakim
