[ 
https://issues.apache.org/jira/browse/MAHOUT-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434052#comment-13434052
 ] 

Sean Owen commented on MAHOUT-1058:
-----------------------------------

Or, can you put in a hook that lets you apply an IDRescorer inside 
CandidateItemStrategy?

IDRescorer works pretty well as an abstraction that answers, "do I consider 
this thing?" and "if so, how do I rescore it?" Different implementations of 
such a thing may be used separately in different places, and in fact that's 
already how similar item filtering works.

I think it'd be nice to follow that pattern as opposed to adding more methods 
to the interface, if that's what you mean.
                
> IDRescorers should also be able to filter candidate items
> ---------------------------------------------------------
>
>                 Key: MAHOUT-1058
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1058
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.8
>            Reporter: Sebastian Schelter
>            Assignee: Sebastian Schelter
>
> Currently when a recommendation for a particular user is computed, at first 
> the candidate items are determined via a CandidateItemsStrategy, then 
> predicitions for all these items are computed and afterwards the IDRescorer 
> can filter the items that might be recommended.
> For performance reasons, it should also be possible to apply custom filtering 
> before the estimation is done. This cannot be done in the 
> CandidateItemsStrategy, as the filtering logic might depend on some 
> request/or user-specific criteria that are not known in the recommender 
> application.
> It would be possible to implement such a logic in IDRescorer.isFiltered(), 
> this is however bad for performance reasons, as the very costly estimation 
> has already happen then.
> I propose to add a method to IDRescorer that can filter the candidate items 
> right before estimation starts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to