27abe9ced763bc831cd760e7ae7ee313db10b828,recordlinkage/base.py,BaseCompare,compare_vectorized,#BaseCompare#Any#Any#Any#,328

Before Change


                labels_left = list(labels_left)

            if isinstance(labels_right, tuple):
                labels_right = list(labels_right)

            // all args and kwargs are passed to comp_func
            self._compare_functions.append(
                (comp_func, labels_left, labels_right, label, args, kwargs,)

After Change


            This argument is a keyword argument.
        

        if "label" in kwargs:
            feature_label = kwargs["label"]

        log_str = "compare {l_left} with {l_right} - user defined function"
        logging.info(log_str.format(l_left=labels_left, l_right=labels_right))

        return self._compare_vectorized(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: J535D165/recordlinkage
Commit Name: 27abe9ced763bc831cd760e7ae7ee313db10b828
Time: 2017-08-24
Author: jonathandebruinhome@gmail.com
File Name: recordlinkage/base.py
Class Name: BaseCompare
Method Name: compare_vectorized


Project Name: ContextLab/hypertools
Commit Name: 529c4bc269f6c3a265d49b97393cbc6ecbcf5f94
Time: 2016-12-22
Author: andrew.heusser@gmail.com
File Name: python/hypertools/plot/plot.py
Class Name:
Method Name: plot


Project Name: ContextLab/hypertools
Commit Name: 7c2673280add4356814a56e5a4253bd959630e95
Time: 2016-12-22
Author: andrew.heusser@gmail.com
File Name: python/hypertools/plot/plot.py
Class Name:
Method Name: plot