Data Science & ML · Databases & Data Engineering
Entity Resolution & Record Deduplication
By David Gadyan · Published · Updated · Client: Dave Imrem
Entity-resolution work for Dave Imrem to find and remove duplicate records that refer to the same real-world customer across and within datasets. I benchmarked the JedAI toolkit, rejected it on compute time, then trained the ML-based Python dedupe library on a labelled set; output analysis confirmed it matched duplicates well enough to adopt as the solution.
The problem
Companies record the same customer more than once: a slightly different spelling, a new email address, a second form submission, and the same person becomes three rows. Entity resolution is the task of working out which records refer to the same real-world entity, across datasets and within them, so that duplicates can be removed before any analysis. It matters most in large public-sector and federal datasets in health, transport, finance and law enforcement, but the client's need was the ordinary business version: clean customer data.
What I built
- An evaluation of JedAI, the open-source entity-resolution toolkit, which I rejected because its compute time was too high for the client's datasets.
- A deduplication pipeline on top of dedupe, an open-source Python library that uses machine learning to learn which records match.
- A labelled training set for the library's active-learning loop, so the model learned from real examples of matching and non-matching pairs rather than hand-written rules.
- An analysis of the model's output to confirm it was finding the right duplicates before recommending it.
Outcome
The dedupe-based approach did a good job on the client's data: output analysis showed it matched duplicate records accurately at a compute cost that JedAI could not reach, and it was adopted as one solution to the problem. Cleaner, deduplicated records mean every downstream analysis counts each customer once.
Related projects
Hybrid Recommender API on GCP (Chilldays)
Data Science & ML · Cloud, DevOps & LLMOps · Databases & Data Engineering
Automated Valuation Model & Real Estate Bot
Data Science & ML · Databases & Data Engineering
AI-Powered Web Scraper (LSTM + Scrapy)
Databases & Data Engineering · Data Science & ML · Cloud, DevOps & LLMOps