def prob(self, comparison_vectors, return_type=None):
        """Compute the probabilities for each record pair.

        For each pair of records, estimate the probability of being a match.

        Parameters
        ----------
        comparison_vectors : pandas.DataFrame
            The dataframe with comparison vectors.
        return_type : str
            Deprecated. (default 'series')

        Returns
        -------
        pandas.Series or numpy.ndarray
            The probability of being a match for each record pair.

        """
        if return_type is not None:
            warnings.warn("The argument 'return_type' is removed. "
                          "Default value is now 'series'.",
                          VisibleDeprecationWarning, stacklevel=2)

        logging.info("Classification - compute probabilities")

        prob_match = self._prob_match(comparison_vectors.values)
        return pandas.Series(prob_match, index=comparison_vectors.index)
def prob ( self , comparison_vectors , return_type = None ) : if return_type is not None : warnings . warn ( "The argument 'return_type' is removed. " "Default value is now 'series'." , VisibleDeprecationWarning , stacklevel = 2 ) logging . info ( "Classification - compute probabilities" ) prob_match = self . _prob_match ( comparison_vectors . values ) return pandas . Series ( prob_match , index = comparison_vectors . index )
Compute the probabilities for each record pair.

        For each pair of records, estimate the probability of being a match.

        Parameters
        ----------
        comparison_vectors : pandas.DataFrame
            The dataframe with comparison vectors.
        return_type : str
            Deprecated. (default 'series')

        Returns
        -------
        pandas.Series or numpy.ndarray
            The probability of being a match for each record pair.