How to match a user with another user based on their taste?
You can perform clustering of your customers based on a distance function.
Definition might look like this:


First, calculate euclidean distances between the first item of the first customer's basket and all of the items in the second customer's basket.
Then find out, what is the closest item from second customer's basket (minimum euclidean distance).
Perform the same operation for each item in first customer's basket.
Calculate mean of the minimum distances.
Do the same for the second customer.
Take maximum of means from the first and the second customer.