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)
Metadata
Release files for DedupliPy 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| DedupliPy-0.7.1.tar.gz | 1.5 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| DedupliPy-0.7.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.1 MB
Release files / DedupliPy-0.7.1.tar.gz
| Download URL | DedupliPy-0.7.1.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4217acfa31abe108316d27852136bdcccbd988f319224016b45028ca8e2b823
|
|
BLAKE2b-256 checksum How to use checksums |
3768c017e3fd3b899a735ac0a4639d6a5d9fb6dba66595dfc966c8210898e449
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / DedupliPy-0.7.1-py3-none-any.whl
| Download URL | DedupliPy-0.7.1-py3-none-any.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1edf9dfb1964f4fd082128d45168eef49c9d2fcb4c09cfce6c230da091e500d9
|
|
BLAKE2b-256 checksum How to use checksums |
d85e5653f73776df2f29521ad69e42984c2dc3d3926a9ca125446a96d8870829
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for DedupliPy 0.7.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.