dedupeio / dedupe-examples

:id: Examples for using the dedupe library
MIT License
404 stars 216 forks source link

record_linkage_example - Errors after training when saving file #110

Closed jameskaris closed 2 years ago

jameskaris commented 4 years ago

Using Python 3.7 on Centos 7 workstation.

Run the sample file: record_linkage_example.py

After training first 12 records, press "f" for finished, and the system errors.

========================================================================== ... 11/10 positive, 1/10 negative Do these records refer to the same thing? (y)es / (n)o / (u)nsure / (f)inished / (p)revious f Finished labeling /usr/local/lib/python3.7/site-packages/rlr/crossvalidation.py:122: RuntimeWarning: invalid value encountered in double_scalars

jeancochrane commented 4 years ago

Looks like a small typo, the new API for writing settings as of dedupe 2.0 should be linker.write_settings(sf).