code: def _prob_match(self, features):
          
  
          # compute the probabilities
          probs = self.kernel.predict_proba(features)
  
          # get the position of match probabilities
          classes = list(self.kernel.classes_)
          match_class_position = classes.index(1)
  
          return probs[:, match_class_position]
docs: Compute match probabilities.
  
          Parameters
          ----------
          features : numpy.ndarray
              The data to train the model on.
  
          Returns
          -------
          numpy.ndarray
              The match probabilties.