Skip to main content

End-to-end deduplication solution

Project description

Version Downloads Conda - Platform Conda (channel only) Conda Recipe Docs - GitHub.io

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

With pip

Install directly from PyPI.

pip install deduplipy

With conda

Install using conda from conda-forge channel.

conda install -c conda-forge 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.7.8.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

DedupliPy-0.7.8-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: DedupliPy-0.7.8.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.11.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11

File hashes

Hashes for DedupliPy-0.7.8.tar.gz
Algorithm Hash digest
SHA256 95e85c169c923c2105e35a9dab92a78d60f1824930c1498bff1385dc3a664095
MD5 fdb0ace74a0fb9df4b09612f186080c4
BLAKE2b-256 27297b7c4216f380b73af9835068574460da7b472f8828d51077d75b84b1b92a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: DedupliPy-0.7.8-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.11.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11

File hashes

Hashes for DedupliPy-0.7.8-py3-none-any.whl
Algorithm Hash digest
SHA256 715752db8463cceccfb9ca7e3943bc6729d354c5f9f33050924f23594d335b8a
MD5 729a3ad96d92230c4ab40f7c7567c2a8
BLAKE2b-256 0213fbd600042093c13d4d29a8cc03a57cb62ca924cc97c289241d404d53403e

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