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

def __iter__(self):

    for item_id in self.model.item_ids():
        (yield (item_id, self[item_id]))
