Skip to content

Advanced Recommendation Recipes

Produce a ranked list of items per entity — with exclusion logic, discount-based filtering, and category-aware selection.

Common advanced patterns

  • Set-based exclusion — exclude recently purchased products using set operations
  • Aggregation-based filtering — use groupBy min/max to find products only bought at discount
  • Category-aware selection — recommend products from frequently purchased categories, excluding already-owned items
  • Backward intervals — look back into history to identify eligible products

Ready-to-run solutions

Recipe Industry Advanced Pattern
Top Repurchase Retail Set exclusion, forward + backward intervals
Never at Full Price Retail groupBy min aggregation, discount detection
Active Categories Retail Category counting, product exclusion

See also

For simpler recommendation examples, see the basic Recommendation recipes.