The easiest way to do this by far is with a Rescorer object, passed to
the recommend() method. The implementation should simply look at the
item ID it's given, and return NaN if it's *not* from the given
category, otherwise return the original score. It'll make sense if you
look at the interface but post back with questions here.

On Wed, Nov 4, 2009 at 5:42 PM, Shannon Hicks <[email protected]> wrote:
> In my recommender, my items are grouped into categories. I'd like to end up
> getting recommendations filtered by a specific category.
>
> Are there any examples or suggestions out there on how we might go about
> this? I'm thinking the way to go would be to do a JOIN query somewhere in
> the GenericJDBCDataModel when needed.
>
> Shan
>

Reply via email to