I have a set of data representing many sellers and the items they sell. There is an overlap between the various sellers' items. These items come from various distributors and typically an item comes from a unique distributor.
I am trying to come up with an algorithm that will group items by the distributors that sold them to the sellers. Any ideas come to mind?