Product Recommendations

mail@pastecode.io avatarunknown
python
21 days ago
225 B
7
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"