Interpret Output Scores
Every column Zingg adds to your match output, how scores are computed, and how to decide which clusters need human review.
Every Zingg match or link output contains your original input fields plus a set of columns added by Zingg. These columns tell you which records have been resolved into the same entity, how confident the model is about each match, and (in Enterprise) provide a persistent identifier you can store downstream.
This page defines every Zingg output column and shows how to use the scores to decide what to do with each cluster
Output columns - quick reference
How Zingg computes scores
For each field - fname, lname, email, and so on, Zingg computes multiple features and feeds them to a classifier. These features are different ways to compare strings: character-level differences, string length differences, positional weighting, and common-typo awareness.
No individual feature is perfect, but the classifier finds the best-fit curve across all features and produces a final score. Key behaviors to understand:
The shorter string pair
ABCD/ABCEwill be less similar thanABCDEF/ABCEEF- length matters.Common typos (for example,
minstead ofn) are penalized less severely than unusual character swaps.Differences in the middle of a string are penalized more than prefix or suffix differences.
The threshold is automatically optimized. You may see scores below the conventional 0.5; this is intentional. Zingg optimizes for both accuracy and recall, not just high scores.
Output columns - all editions
Z_CLUSTER
The most important column. All records sharing the same Z_CLUSTER value have been resolved to the same real-world entity. Group by Z_CLUSTERto collapse duplicates into a single golden record or link records across systems.
In the Community version, Z_CLUSTER is non-persistent. It is reassigned fresh each time the match job runs. The same records may receive a different Z_CLUSTER on
the next run.
In the Enterprise version, Z_CLUSTER is replaced by the persistent Zingg ID. See Zingg ID in the next section.
Z_MINSCORE
The lowest similarity score between any two records in the cluster. Indicates the confidence of the weakest link in the cluster. A cluster where Z_MINSCORE is 0 or very low means at least two records in that cluster matched weakly. Flag these for manual review.
Z_MAXSCORE
The highest similarity score between any two records in the cluster. Indicates the strongest match within the cluster. A high Z_MAXSCORE with a low Z_MINSCORE means the cluster
has both strong and weak matches - worth inspecting.
ZINGG_ID (Enterprise)
Globally unique, persistent identifier for each resolved entity. It does not change between runs, including incremental runs. Safe to store and reference in downstream systems. Replaces Z_CLUSTER in Enterprise output.
Z_SCORE (Enterprise)
The model confidence score is provided for each record pair. Higher values closer to 1.0 indicate a stronger likelihood that the records are a true match. Used alongside Z_MINSCORE and Z_MAXSCORE for threshold-based automated decisions.
Z_SOURCE (Enterprise)
Appears only in the link phase output. Identifies which source dataset each record came from. Use Z_SOURCE to trace each resolved record back to its origin system after linking two datasets together.
Reading match output in code
Reading match output is the same in Community and Enterprise; only the cluster column name differs. Community produces Z_CLUSTER. Enterprise produces ZINGG_ID. Replace the column name in your code accordingly.
A small number of targeted labels for the specific pattern being missed is more effective than a large general labeling run.
Run findTrainingData and look for pairs similar to the ones being missed. Label them as match. The similarity model needs to see this pattern in the training data to learn it. If the variation that
causes the mismatch like a specific abbreviation pattern, a missing field, or a transliteration not represented in your labeled pairs; the model has no basis for scoring it above the threshold.
Add match labels for the missed pattern
If verifyBlocking confirms the pair is reaching the similarity model but still not matching, proceed to the training data fix below.
Run verifyBlocking. If the missed pair is not being blocked together, the similarity model is not the cause. Address the blocking issue first by referring to the Blocking Model page.
Confirm it as a similarity problem, not a blocking problem
A false negative is a pair of records that represent the same entity but were not placed in the same cluster. The similarity model scored them below the match threshold or the blocking model never allowed them to be compared.
Diagnosing false negatives matches that were missed
A false positive is a cluster that contains records representing different real-world entities. They look similar enough that the model merged them, but they should not be in the same cluster.
Diagnosing false positives records that should not be together
How to inspect the similarity model, diagnose false positives and false negatives, and improve accuracy through targeted retraining. The similarity model scores every candidate pair that the blocking model passes through. If your results contain records incorrectly merged into the same cluster (false positives) or matching records that were missed (false negatives), the similarity model is where to investigate after first confirming that blocking is not the cause.
Using scores to decide what to do with clusters
Last updated
Was this helpful?