Skip to main content

End-to-end deduplication solution

Project description

Version Downloads

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

Documentation

Documentation can be found here

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.5.1.tar.gz (46.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

DedupliPy-0.5.1-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: DedupliPy-0.5.1.tar.gz
  • Upload date:
  • Size: 46.0 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.62.3 CPython/3.8.8

File hashes

Hashes for DedupliPy-0.5.1.tar.gz
Algorithm Hash digest
SHA256 1522cdaf53ed042147d4af7ce81797af2b736b87a4aeecd8d7eaf1c3b628c797
MD5 81bb657a981ebce229153159a2337fbd
BLAKE2b-256 99809c2139fc7b04c6697f6fb76d1dd0302dae022096299d628892754a789454

See more details on using hashes here.

File details

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

File metadata

  • Download URL: DedupliPy-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 18.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.62.3 CPython/3.8.8

File hashes

Hashes for DedupliPy-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56ec8f83a457be5ff641aa49b2074377b6032f20a0e16eb6c4fa27d0459a2c2b
MD5 9cbf166f10a378297813698065e53937
BLAKE2b-256 b97f8f0de162f60dba5b5a11ac67dbea505fcdab257d8258f622f69428e95c5a

See more details on using hashes here.

Supported by

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