code: def predict(self, comparison_vectors):
          
          logging.info("Classification - predict matches and non-matches")
  
          # make the predicition
          prediction = self._predict(comparison_vectors.values)
          self._post_predict(prediction)
  
          # format and return the result
          return self._return_result(prediction, comparison_vectors)
docs: Predict the class of the record pairs.
  
          Classify a set of record pairs based on their comparison vectors into
          matches, non-matches and possible matches. The classifier has to be
          trained to call this method.
  
          Parameters
          ----------
          comparison_vectors : pandas.DataFrame
              Dataframe with comparison vectors.
          return_type : str
              Deprecated. Use recordlinkage.options instead. Use the option
              `recordlinkage.set_option('classification.return_type', 'index')`
              instead.
  
          Returns
          -------
          pandas.Series
              A pandas Series with the labels 1 (for the matches) and 0 (for the
              non-matches).