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.6.3.tar.gz (45.7 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.6.3-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: DedupliPy-0.6.3.tar.gz
  • Upload date:
  • Size: 45.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 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.6.3.tar.gz
Algorithm Hash digest
SHA256 18bc7b1e12fec9a1c16bb9cf95c9223cfdacc7238c02db8b450ed1fb19a88c9b
MD5 a7b6b00a602dd2ae5c8914dff08db7e6
BLAKE2b-256 3450972f84a0a9e27f45e1b901e6a7689243ce8db872ac07470a5cc083863c9e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: DedupliPy-0.6.3-py3-none-any.whl
  • Upload date:
  • Size: 49.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 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.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 794917a7a5e8fe8902635ad2206a07e4ae0b6c687aedc71887b57c543eee36fb
MD5 bd303d33a0467dd945defcf12dd7e8ea
BLAKE2b-256 706b89a5dbe496248e1f5f3a800492ac070c1a6d185ef87b0d1a65efaf0b2845

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