Unable to do custom comparison levels with non exact match sql statements #799
-
I was trying to create a custom comparison level for looking at first names by seeing if a canonical name matched with a first name that was a nickname given in my data. However, since I was doing a LIKE statement in SQL, I didn't need a term frequency column. When I try to run linker.estimate_parameters_using_expectation_maximization I get a BinderException about a tf_canonicals_fname_l column that shouldn't need to exist. I tried both a different SQL statement (jaro_winkler_similarity(str_l,str_r) < 0.8) and attempting to add a term frequency column based on my fname column within the comparison. Both the custom comparison level and the error are in screenshots below: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Sorry for the bug - I think this was fixed in version 3.3.5 here so if you upgrade |
Beta Was this translation helpful? Give feedback.
Sorry for the bug - I think this was fixed in version 3.3.5 here so if you upgrade
pip install --upgrade splink
this problem should go away. Let me know if it doesn't!