Give Zingg a ZINGG_ID and get back the pairs it matched, their similarity scores and how the cluster formed, with statistics that point you to the clusters and records worth checking.
A104 and A517 never matched each other. They share a ZINGG_ID because the matches chain through A339 and A402.
With output statistics configured, every match and incremental run writes cluster, record and summary statistics alongside the results.
Matched pairs divided by all possible pairs, n(n-1)/2. Near 1 is dense; low values are sparse clusters worth a look.
The share of possible pairs connected by deterministic rules. Higher means more of the cluster is held together by rules.
The share of the rest of the cluster a record matches, its matches divided by n-1.
The share of a record's connections that come from deterministic rules rather than the model.
Filter for clusters that are big but loosely connected, the ones most likely to be wrong.
A record with unusually high centrality can falsely bridge two entities. Check it before it merges them.
A rising determinism ratio across runs usually means your deterministic rules are improving.
If the number of clusters changes out of proportion to the records added or updated, raise an alert.
The explain phase takes the ZINGG_ID of a cluster and returns the pairs that matched inside it, as pk1 and pk2.
Set an output stats location and match and incremental runs write cluster, record and summary statistics with a timestamp. Explainability docs
./scripts/zingg.sh --phase explain \
--zinggid ea67d79a-56a7-4431-ab55-d08bb3c10e2e \
--conf explainConfig.json # cluster, record and summary stats on every run
stats = EPipe("stats", "delta")
stats.addProperty("location", "/lake/zingg/stats_$ZINGG_DYNAMIC_STAT_NAME")
eArgs.setOutputStats(stats)For any cluster, the record pairs Zingg matched and their similarity scores, plus statistics on how densely the cluster is connected and how much of it comes from deterministic rules rather than the model.
Run the explain phase with the ZINGG_ID of the cluster. Zingg returns a pair-level view, pk1 and pk2, of the records that matched inside it.
Matching is transitive. If A matches B and B matches C, all three form one cluster even though A and C were never matched directly. The explain output shows the chain.
z_cluster_centrality is the number of matched pairs in a cluster divided by all possible pairs, n(n-1)/2. Values near 1 mean a dense cluster; low values mean a sparse one worth reviewing.
z_cluster_determinism is the share of possible pairs connected by deterministic rules. A rising value over runs usually means your rules are improving.
Look at z_record_centrality, the share of the cluster a record matches with. A few records with very high centrality can falsely bridge clusters, so validate them.
Explain covers probabilistic matches. Clusters formed only by deterministic rules may return empty results.
Zingg Enterprise. Statistics are written for match and incremental runs when an output stats location is configured.
Explainability and output statistics come with Zingg Enterprise, on your own data platform.