Compare Model Results
Compare the accuracy of two trained Zingg models before deploying to production.
When you build a new model or update an existing one, you need to know whether the new model actually performs better than the old one before switching production workloads. Comparing model results lets you run both models on the same dataset and evaluate their outputs side by side.
This is part of the Zingg model workflow: build → tweak → run → interpret → compare → save. Comparing model results is the step between interpreting and saving - it gives you confidence that the model you are saving is better than the one it is replacing.
When to use Compare model results
Use this when you have:
Retrained an existing model with more labeled data and want to confirm the updated model outperforms the original.
Changed field match types; for example, switching a field from
FUZZYtoEXACTor adding a new field and want to validate the impact before promoting the change.Run an A/B test between two modeling strategies and need a quantitative basis for choosing one over the other.
Changed blocking strategy settings and want to measure the effect on cluster quality before committing to production.
How Compare Model Results works
Compare model results uses the diff phase to analyze both model outputs and identify exactly which records and clusters were affected by your changes.
The diff phase compares two configurations:
Original configuration: your baseline model (e.g., with
FUZZYmatching)New configuration: your updated model (e.g., with
EXACTmatching or new deterministic rules)
The diff phase then identifies:
Records that moved between clusters due to model changes
New clusters created in the updated model
Merged or split clusters between the two models
Understand why use Diff with use cases
Field type changes: When you switch a field from
FUZZYtoEXACTor add a new field, rundiffbefore deploying. See exactly which clusters changed and decide whether the new model behaves better for your data.Validating model improvements: After retraining with more labeled data, use
diffto confirm the updated model outperforms the original. Don't assume more labels always improve results—verify.A/B testing modeling strategies: Run two different configurations on the same dataset and compare their outputs with
diff. Choose the strategy with the better cluster quality based on evidence, not intuition.Blocking strategy changes: Changed
setBlockingModel()fromDEFAULTtoWIDER? Rundiffto measure the effect on cluster quality before committing to production.Regression detection: Ensure that changes made to improve one part of the model have not degraded match quality on other parts of your data.
Cluster evolution tracking: Understand how clusters merge, split, or change as your model evolves. Especially useful when your input data has changed significantly between model versions.
Last updated
Was this helpful?