def nearest_neighbors(self, concept, concepts=[], k=3):
        return sorted(concepts, key=lambda candidate: self.similarity(concept, candidate, k), reverse=True)
Returns the k most similar concepts from the given list.
dataset/ETHPy150Open clips/pattern/pattern/graph/commonsense.py/Commonsense.nearest_neighbors