By 'original items' I mean the items in the database (just the raw table rows). In the example I gave original items are 10. Actually should be 'original ratings', not 'original items'
If you look at CachingRecommender it has 2 recommend () methods: one with IDRescorer and other without. My understanding of this is that the one with IDRescorer has *recommended* items altered by IDRescorer. The one without doesn't. So, the IDRescorer works on *recommended* items and not *original* ratings. The confusion is not about filtering parse but what's being filtered. For the example I gave I could do an SQL to delete the 'unwanted' ratings then have a clean set of ratings to feed into the recommender so that the recommender sees 7 ratings instead of 10. But this doesn't look intuitive so I thought there's a better way of handling this within mahout. Probably what I need is a new data model that overwrites getPreferencesFromUser(long id) and getPreferencesForItem(long itemID) On Wed, May 9, 2012 12:25 pm, Sean Owen wrote: > What do you mean "original items"? The user's preferred items are already > not candidates for recommendation, but that is nothing to do with the > rescorer. It operates on all *candidate* items, *before* scoring. > > What is your distinction between filtering *recommended* items and > *original* items? Either way it is filtered. I don't understand what you > are getting at. > > On Wed, May 9, 2012 at 10:09 AM, Mugoma Joseph Okomba > <[email protected]>wrote: > >> >> If it's true that IDRescorer works on original items then that's both >> bad >> and good news for me. >> >> The bad news is is that all the code I had previous written involving >> IDRescorer is all bugy since I had assumed that IDRescorer filters >> recommendations and not original list >> >> The bit of good news is that I don't have to anything for the new task. >> >> But, if IDRescorer changes original list, what can be used to change >> recommendations? >
