def induce(self):
        kb = self.kb
        has_min_sup = lambda pred: kb.get_members(pred).count() >= self.min_sup
        all_predicates = filter(has_min_sup, kb.predicates)
        rules = []
        for depth in range(1, self.depth+1):
            for attrs in combinations(all_predicates, depth):
                rule = Rule(kb, predicates=self._labels_to_predicates(attrs),
                            target=self.target)
                rules.append(rule)
        rules = sorted(rules, key=lambda r: r.score, reverse=True)
        return rules[:self.n]
Should this row be skipped?
dataset/ETHPy150Open anzev/hedwig/hedwig/learners/optimal.py/OptimalLearner.induce--crossover with--dataset/ETHPy150Open openelections/openelections-core/openelex/us/nh/load.py/NHBaseLoader._skip_row