Change a rule, add a field or alter a type. Model Diff runs both configurations on the same data and shows exactly which records moved to a different ZINGG_ID, before you push it to production.
- "email": FUZZY
+ "email": EXACT[email protected] no longer counts as a near match for [email protected].
Switching email to exact matching splits one record out of its cluster. Every other record keeps its ZINGG_ID.
Confirm a config change did what you intended, and nothing else.
Compare two rule sets or field settings on the same data before choosing one.
Spot clusters that broke apart or merged unexpectedly before they reach production.
See how a wider blocking strategy shifts match results, and weigh it against run time.
The diff lists every impacted record with its ZINGG_ID under the original model and under the updated one, so you review a short table instead of two full outputs.
Each record whose cluster assignment changed, with both ZINGG_IDs side by side.
Entities the updated model creates that did not exist under the original one.
Clusters that came together or broke apart between the two models.
Your baseline configuration, trained and matched as it runs today.
The same data with your change: a field type, a rule, a blocking strategy or a parameter.
Review the impacted records, then ship the update or keep the original. Model Diff docs
# originalArgs, newArgs: both trained with trainMatch
diffArgs = TransformedOutputArguments()
diffArgs.setParentArgs(newArgs)
diffArgs.setCompareToArgs(originalArgs)
diffArgs.setTransformedOutputPath(EPipe("diff", "delta"))
phase = [EClientOptions.PHASE, "diff"]
EZingg(diffArgs, EClientOptions(phase)).initAndExecute()A Zingg Enterprise phase that compares the output of two model configurations run on the same data and lists every record whose cluster assignment changed.
Any two configurations: a field switched from fuzzy to exact matching, a new deterministic rule, a different blocking strategy, nicknames or other mappings, or tuning parameters such as labelDataSampleSize and numPartitions.
Only the records the change affected, with their primary keys, the ZINGG_ID from the original model and the ZINGG_ID from the updated one, side by side.
Yes. Run trainMatch on the original and the updated configuration, then run the diff phase with the updated configuration and the original one to compare against.
From Python, pass the updated arguments and the original arguments to the diff phase. From the command line, run the diff phase with --conf pointing at the updated configuration and --compareTo at the original.
Zingg Enterprise.
Model Diff comes with Zingg Enterprise, on your own data platform.