def _pruned_superclasses(self):
        min_sup = lambda pred: self.kb.n_members(pred) >= self.min_sup
        pruned_superclasses = {}
        for pred in self.kb.predicates:
            superclasses = self.kb.super_classes(pred)
            pruned_superclasses[pred] = filter(min_sup, superclasses)

        return pruned_superclasses
dataset/ETHPy150Open anzev/hedwig/hedwig/learners/bottomup.py/BottomUpLearner._pruned_superclasses/original