https://github.com/fritshermans/deduplipy
Python package for deduplication/entity resolution using active learning
https://github.com/fritshermans/deduplipy
deduplication entity-resolution fuzzy-matching record-linkage
Last synced: 3 months ago
JSON representation
Python package for deduplication/entity resolution using active learning
- Host: GitHub
- URL: https://github.com/fritshermans/deduplipy
- Owner: fritshermans
- License: mit
- Created: 2021-04-13T13:33:04.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-24T09:19:21.000Z (almost 2 years ago)
- Last Synced: 2025-10-21T20:07:48.602Z (7 months ago)
- Topics: deduplication, entity-resolution, fuzzy-matching, record-linkage
- Language: Python
- Homepage: https://www.deduplipy.com
- Size: 521 KB
- Stars: 81
- Watchers: 5
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
README
[](https://pypi.org/project/deduplipy/)

[](https://pepy.tech/project/deduplipy)
[][#conda-forge-package]
[][#conda-forge-package]
[][#conda-forge-feedstock]
[][#docs-package]
[#pypi-package]: https://pypi.org/project/deduplipy/
[#conda-forge-package]: https://anaconda.org/conda-forge/deduplipy
[#conda-forge-feedstock]: https://github.com/conda-forge/deduplipy-feedstock
[#docs-package]: https://deduplipy.readthedocs.io/en/latest/
# 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](https://fritshermans.github.io/)
## Documentation
Documentation can be found [here](https://deduplipy.readthedocs.io/en/latest/)
## 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:
```python
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:
```python
result = myDedupliPy.predict(df)
```
