77796d63a9a04a5c7639e999f4fa78af62bac405,recordlinkage/comparing.py,,_compare_fuzzy,#Any#Any#Any#Any#Any#,331
Before Change
// Check jellyfish
_check_jellyfish()
series = pandas.concat([s1, s2], axis=1)
if method == "jaro":
approx = series.apply(lambda x: jellyfish.jaro_distance(x[0], x[1]) if pandas.notnull(x[0]) and pandas.notnull(x[1]) else np.nan, axis=1)
After Change
elif method == "levenshtein":
approx = levenshtein_similarity(s1, s2)
elif method in ["dameraulevenshtein", "damerau_levenshtein"]:
approx = damerau_levenshtein_similarity(s1, s2)
elif method in ["qgram", "q_gram"]:
approx = qgram_similarity(s1, s2)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: J535D165/recordlinkage
Commit Name: 77796d63a9a04a5c7639e999f4fa78af62bac405
Time: 2016-05-06
Author: jonathandebruinhome@gmail.com
File Name: recordlinkage/comparing.py
Class Name:
Method Name: _compare_fuzzy
Project Name: HyperGAN/HyperGAN
Commit Name: 645d090278a0b2637696f03707bc1a62f4fcda1c
Time: 2019-04-04
Author: mikkel@255bits.com
File Name: hypergan/train_hooks/experimental/minibatch_train_hook.py
Class Name: MiniBatchTrainHook
Method Name: __init__
Project Name: HyperGAN/HyperGAN
Commit Name: a0909744e8105a0a4dbd2e8bd8a6f658ac2e2b82
Time: 2017-02-17
Author: mikkel@255bits.com
File Name: hypergan/graph/graph.py
Class Name: Graph
Method Name: generator