def top_matches(self, prefs, p1):
        return [(p2, self.similarity(prefs[p1], prefs[p2])) for p2 in prefs if p2 != p1]
If ``value`` is a :class:`datetime.datetime` instance, this will convert it to a format which can be stored as correct JSON.
dataset/ETHPy150Open fcurella/django-recommends/recommends/algorithms/ghetto.py/GhettoAlgorithm.top_matches--crossover with--dataset/ETHPy150Open ithinksw/philo/philo/models/fields/entities.py/JSONAttribute.get_storage_value