The short answer is that you'd have to modify the code to inject this kind of logic -- though you might get away with just using a custom CandidateItemStrategy in an item-based recommender.
A Rescorer will cause it to not bother computing estimated values for unwanted items though, so I think it already does what you intend. On Fri, Jul 1, 2011 at 5:56 PM, Em <[email protected]> wrote: > Hello list, > > is it possible to filter out some items/users from the > recommendation-process? > > In some cases one does not want to include information from some sources in > special situations. > > As an example you can imagine an onlineshop. If you click on the category > "women" it would be the best to only show recommendations for this > main-category rather than also showing some stuff for men. > > A Rescorer could be a solution to filter out those unwanted results *after* > the big part is done (am I correct?), however I do not want to spend > ressources on computing probabilities for items that are definitly unwanted > for the resultset. > > What I want is something like a > SELECT col1, col2, col3 FROM myData WHERE category = "women" OR category = > "subcategoryOfWomen" > and than do the computation on top of this dataset. > > Is this possible with Mahout? > > Regards, > Em > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Exclude-by-RuleSet-tp3129982p3129982.html > Sent from the Mahout User List mailing list archive at Nabble.com. >
