Gopala Krishna commited on
Commit
cef1747
·
1 Parent(s): 49752f7
.vs/UBCFProductRecommendations/FileContentIndex/a43e1f3e-7678-4ada-9ec9-ffd2da108cca.vsidx ADDED
Binary file (12.4 kB). View file
 
app.py CHANGED
@@ -48,7 +48,6 @@ def recommend_items(customer_id_1, customer_id_2):
48
  return pd.DataFrame({"Error": ["Customer ID 2 is invalid. Please enter a valid Customer ID"]})
49
 
50
 
51
-
52
  # Find out items which purchased by X (customer_id_1) but not yet purchased by Y (customer_id_2).
53
  items_to_recommend_to_Y = items_purchased_by_X - items_purchased_by_Y
54
 
 
48
  return pd.DataFrame({"Error": ["Customer ID 2 is invalid. Please enter a valid Customer ID"]})
49
 
50
 
 
51
  # Find out items which purchased by X (customer_id_1) but not yet purchased by Y (customer_id_2).
52
  items_to_recommend_to_Y = items_purchased_by_X - items_purchased_by_Y
53