'For each object in model, compute the similarity function against all other objects and yield the result.'

def __iter__(self):

    for (source_id, preferences) in self.model:
        (yield (source_id, self[source_id]))
