def matchBlocks(self, blocks, threshold=.5, *args, **kwargs):
        candidate_records = self._blockedPairs(blocks)

        matches = core.scoreDuplicates(candidate_records,
                                       self.data_model,
                                       self.classifier,
                                       self.num_cores,
                                       threshold)

        logger.debug("matching done, begin clustering")

        clusters = self._cluster(matches, threshold, *args, **kwargs)

        try:
            match_file = matches.filename
            del matches
            os.remove(match_file)
        except AttributeError:
            pass

        return clusters
Learn weight coefficients from training data for each regressor.
dataset/ETHPy150Open datamade/dedupe/dedupe/api.py/Matching.matchBlocks--crossover with--dataset/ETHPy150Open rasbt/mlxtend/mlxtend/regressor/stacking_regression.py/StackingRegressor.fit