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.8.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: DedupliPy-0.8.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for DedupliPy-0.8.tar.gz
Algorithm Hash digest
SHA256 a93202d4b4f6d6b80174a370425e8110dc1167ec0655f278b41109e1bd47c71a
MD5 44fb77220376da132e7a604bf3a75b6d
BLAKE2b-256 4c4cf984eeac34c0d15cb07820d3abfdc84845aaac56363881c16b21d554e80b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: DedupliPy-0.8-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for DedupliPy-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 998fbe35ccbdf721f34676263509e8c89600595bf7a2cb44280c284dcc93152c
MD5 2cb42b5e72117b08269ac4abfecfdd63
BLAKE2b-256 e3572a38eb33091392786e303325f6609b7d4805405ed0a6c751df2f5f52ec0a

See more details on using hashes here.

Supported by

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