Product Recommendations
unknown
python
a year ago
225 B
8
Indexable
Never
recommendations = ProductRecommendations() recommendations.add_visit("product_1") recommendations.add_visit("product_2") recommendations.add_visit("product_1") recommendations.get_recommendation() # should return "product_1"