Skip to main content

End-to-end deduplication solution

Project description

DedupliPy

Deduplication is the task to combine different representations of the same real world entity. This package implements deduplication using active learning. Active learning allows for rapid training without having to provide a large, manually labelled dataset.

DedupliPy is an end-to-end solution with advantages over existing solutions:

  • active learning; no large manually labelled dataset required
  • during active learning, the user gets notified when the model converged and training may be finished
  • works out of the box, advanced users can choose settings as desired (custom blocking rules, custom metrics, interaction features)

Developed by Frits Hermans

Installation

Normal installation

Install directly from Pypi:

pip install deduplipy

Install to contribute

Clone this Github repo and install in editable mode:

python -m pip install -e ".[dev]"
python setup.py develop

Usage

Apply deduplication your Pandas dataframe df as follows:

myDedupliPy = Deduplicator(col_names=['name', 'address'])
myDedupliPy.fit(df)

This will start the interactive learning session in which you provide input on whether a pair is a match (y) or not (n). During active learning you will get the message that training may be finished once algorithm training has converged. Predictions on (new) data are obtained as follows:

result = myDedupliPy.predict(df)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DedupliPy-0.1.2.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

DedupliPy-0.1.2-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file DedupliPy-0.1.2.tar.gz.

File metadata

  • Download URL: DedupliPy-0.1.2.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for DedupliPy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0401cf1eaebe3d3d828df54a6ea558480e01c3acbb3865b3540518b4875b6303
MD5 f18248494e6f21f1c7bd65dee5185ad4
BLAKE2b-256 253ddaa979731ebfb89b6657cad6813e6ababd7862de719375a0db3a1bb008bb

See more details on using hashes here.

File details

Details for the file DedupliPy-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: DedupliPy-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for DedupliPy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 59fc6b5553dc92b3c2bf4915506a4ef498f8edff8ebaf1a8c13b08a9152225d8
MD5 e5eb41c18d9b3d3491552198817f8e43
BLAKE2b-256 95332f7e4d1eebf7bf44ea4697b1f3cfa40a6841d3f90298bf31a47db322393c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page