Quick Start (Docker)
See Zingg Community resolve duplicate records in under 5 minutes no setup, no configuration, no data preparation needed.
The fastest way to understand what Zingg does is to see it work. This page uses Docker and a pre-trained model bundled with Zingg to run entity resolution on a sample dataset in three commands. There is no installation, no configuration, and no labeling required.
You will see Zingg take records that look different variations in name, address, and date of birth, and resolve them into clusters representing the same real-world person. That is entity resolution.
Run Zingg in 3 commands
Step 1: Pull the Zingg Docker image
docker pull zingg/zinggStep 2: Start the container
docker run -it zingg/zingg bashIf you see a permission error, use:
docker run -v /tmp:/tmp -it zingg/zingg bashStep 3: Run match using the bundled FEBRL sample data and pre-trained model
./scripts/zingg.sh --phase match --conf examples/febrl/config.jsonReading the output at /tmp/zinggOutput
The output contains all your input fields plus three columns added by Zingg:
Z_CLUSTER- a unique identifier shared by all records Zingg resolved as the same entity. Records with the sameZ_CLUSTERvalue represent the same real-world person in theFEBRLdataset.Z_MINSCORE- the lowest similarity score between any two records in that cluster. Indicates how confidently the weakest link in the cluster was matched.Z_MAXSCORE- the highest similarity score between any two records in that cluster. Indicates the strongest match within the cluster.
Prerequisites
Docker installed on your machine
At least 4 GB of free RAM
Permission to bind-mount local directories (for output and model persistence)
Step 1: Pull the Zingg Docker image and start a container
Pull the Zingg Docker image:
Start a bash session inside the container:
If you see a permission error, use the volume mount form:
The Zingg Python package is already installed inside the Docker container. Zingg Python programs run via the zingg.sh script provided with the Zingg release.
Step 2: Use the bundled sample data
The Docker image ships with the FEBRL sample dataset and a sample config file:
Sample data:
examples/febrl/test.csvSample config:
examples/febrl/config.json(Community) orexamples/febrl/configSnow.json(Snowflake variant)
If you want to use your own data instead, copy it into the running container from your local machine:
Step 3: Set up the configuration
Create or edit your configuration. The config defines your field definitions, input and output paths, model ID, and partition settings. Both editions use the same JSON structure — only the Python class differs between editions.
Python - Community
Python - Enterprise
JSON - Community
JSON - Enterprise
Step 4: Find candidate pairs
Zingg scans your dataset using the field rules defined in Step 3 and selects the most informative pairs for labeling - edge cases where the model has the most to learn. Candidate pairs are written to zinggDir/modelId.
Python - Community
Python - Enterprise
CLI (both editions)
Step 5: Label pairs
Zingg shows you the pairs selected by findTrainingData. For each pair, decide:
1- Match: these records represent the same real-world entity0- Not a match: these records are different entities2- Not sure: when you cannot decide
Python - Community
Python - Enterprise
CLI (both editions)
The --showConcise=true flag shows only fields used for matching and hides DONT_USE fields.
Step 6: Train the model
Once you have enough labelled pairs, run the train phase. Zingg builds blocking and similarity models from your labelled training data and persists them to zinggDir/modelId. These models can be reused on newer datasets without retraining.
Python - Community
Python - Enterprise
CLI (both editions)
Step 7: Run match and resolve identities
Run the match phase. Zingg applies the trained models to your full dataset and writes matched records to the output location configured in Step 3.
Python - Community
Python - Enterprise
CLI (both editions)
Reading the match output
Zingg adds output columns to your input. Community produces Z_CLUSTER, Z_MINSCORE, and Z_MAXSCORE. Enterprise produces ZINGG_ID (a persistent GUID), Z_MINSCORE, and Z_MAXSCORE.
For threshold guidance and full output column definitions → Interpret Output Scores
Last updated
Was this helpful?