def uncertainPairs(self):

        if self.training_data.shape[0] == 0:
            rand_int = random.randint(0, len(self.data_sample) - 1)
            random_pair = self.data_sample[rand_int]
            exact_match = (random_pair[0], random_pair[0])
            self._addTrainingData({u'match': [exact_match, exact_match],
                                   u'distinct': [random_pair]})

        self._trainClassifier()

        bias = len(self.training_pairs[u'match'])
        if bias:
            bias /= (bias +
                     len(self.training_pairs[u'distinct']))

        min_examples = min(len(self.training_pairs[u'match']),
                           len(self.training_pairs[u'distinct']))

        regularizer = 10

        bias = ((0.5 * min_examples + bias * regularizer) /
                (min_examples + regularizer))

        return self.activeLearner.uncertainPairs(self.classifier, bias)
Creates the underlying QSplitter control.
dataset/ETHPy150Open datamade/dedupe/dedupe/api.py/ActiveMatching.uncertainPairs--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_splitter.py/QtSplitter.create_widget