Probabilistic Linkage Model
This project is creating a probabilistic linkage model using Splink, in order to improve linkage outcomes, and by extension, patient outcomes. The aim is for this to be used to link data in a range of NHS datasets.
Crafting a model that suits NHS England data linkage needs
This project aims at developing an alternative data linkage model to MPS (Master Person Service) by creating a probabilistic linkage model using the package called Splink, which was developed by the Ministry of Justice (MoJ) Data Science Team.
The linkage pipeline consists of a few steps:
- Dataset Ingestion
- Pre-processing
- Blocking rules
- Distance Metrics
- Training
- Prediction
- Evaluation
These can be used as a full pipeline or as individual building blocks.
Each of these steps requires research into linkage best practice, testing on samples of our data, feasibility studies of computational power required, and then thorough evaluation. We are working with an incremental improvement plan and a series of iterative MVPs to ensure that the pipeline has the highest quality we can achieve within our computational limits.
We have also added additional configuration to the pipeline to allow for a deduplication task. This is in order to try and identify possible duplicate records in the Personal Demographics Service (PDS).
These diagrams illustrate the structure of the different notebooks in this repository. The diagrams show the _linkage
version of each notebook, but for each there is also a _dedupe
version with a similar structure.
This first image describes the training of the model, and the process of it predicting linkages.
This image shows the process that the predictions undergo for evaluation
Building a model with transparency in mind
Users of linked data have to rely on the accuracy of the process created by others as often the process of linking data is not under their control. That is why one of the main focus of the model we are building is transparency of the methods and explainability of the results.
Output | Link |
---|---|
Splink Linkage Pipeline | Github |