def top_matches(self, prefs, p1):
        return [(p2, self.similarity(prefs[p1], prefs[p2])) for p2 in prefs if p2 != p1]
Returns the best matches for p1 from the prefs dictionary.
dataset/ETHPy150Open fcurella/django-recommends/recommends/algorithms/ghetto.py/GhettoAlgorithm.top_matches