

def findItemPairs(user_id, items_with_rating):
    '\n    For each user, find all item-item pairs combos. (i.e. items with the same user) \n    '
    for (item1, item2) in combinations(item2, 2):
        return ((item1[0], item2[0]), (item1[1], item2[1]))

dataset/ETHPy150Open evancasey/spark-knn-recommender/algorithms/itemSimilarity.py findItemPairs/VarMisuse@23/79 `items_with_rating`->`item2`