Also, if you use the search engine method for deploying your engine, you
can simply put categories on your items and use a boolean search to limit
the results of recommendations.

The same is useful for geo-limited recommendations.


On Fri, Jun 21, 2013 at 9:28 PM, Sebastian Schelter <[email protected]
> wrote:

> Hi Mouthgalya,
>
> If you use ItembasedRecommender.mostSimilarItems() to query the similar
> items ("recommendations for an item"), then you can provide a
> Rescorer<LongPair> to filter out items that should not be returned
> (e.g., by checking the categories to which they belong).
>
> --sebastian
>
> On 21.06.2013 21:42, Mouthgalya Ganapathy wrote:
> > Hi,
> > For item based recommendations in Mahout, is there a way to get
> recommendations from a selected Product category?
> > For example:
> > Product category A: Product1, Product2, Product3
> > Product Category B: Product4, Product5, Product6
> >
> > Recommendations for product 2 should be only from category A i.e.
> Product 1 and 3.So recommendations should be only within the product
> category.
> > Is this possible?
> >
> >
> > Thanks,
> > Mouthgalya
> >
>
>

Reply via email to