For the complete documentation index, see llms.txt. This page is also available as Markdown.

Step-by-Step Overview

The complete Zingg workflow from setup to match output is your mental model for the entire Zingg docs site.

Zingg works in phases. Each phase performs a specific task and produces an output that the next phase depends on. You do not need to run all phases every time. Once the model is trained, you run match, link, or runIncremental directly.

The steps below represent the complete workflow from first setup to production matching. This page describes the workflow you follow once Zingg is installed.

right-long
1

Configure

Define your data and output
right-long

Configure input and output pipes to tell Zingg where your source data lives and where to write results. Zingg connects to the data where it lives - it does not move it.

Configure fields
right-long

Define your field definitions, match types, relevant Enterprise features (deterministic matching, primary key, pass through, standardization). The configuration drives every downstream phase.

Configure model id and performance settings

Separate different models through model ids, define number of partitions and labelDataSampleSize for faster running jobs.

2

Find and Label Training Pairs

Run findTrainingData to generate candidate pairs, then label each pair as Match, No Match, or Uncertain. Zingg selects the most informative pairs, not random samples. Repeat the find-and-label cycle until all field types and data variation patterns in your schema are represented in your labeled data.

3

Verify Blocking (Enterprise Only)

Run verifyBlocking to check what percentage of your known matching pairs are being blocked together correctly. Run after labelling and before committing to a full training run. If coverage is low, return to labelling.

right-long
4

Verify Model (Optional)

Run generateDocs to produce a human-readable HTML report of your training data, including pairs labeled as matches and non-matches. Useful for sharing with subject-matter experts for feedback before training. Run updateLabel if needed to incorporate SME comments.

right-long
5

Build and Save the Model

Run train to build and save the blocking and similarity models from your labelled training data. Models are written to zinggDir/modelId and can be reused on new data without retraining.

right-long
6

Apply the trained model to your data:

  • Run match to find duplicates within a single dataset

  • Run link to match records across two or more separate datasets

match and link are two equal operations using the same trained model. As long as your input columns and field types are not changing, you do not need to rebuild the model.

7

Interpret Output

Review output scores to understand match quality. Use Z_MINSCORE and Z_MAXSCORE to set confidence thresholds for automated vs human-reviewed clusters.

Run explain to understand cluster formation and check the output statistics (Enterprise Only) to understand and explain matches.

right-long
8

Tune (if needed)

If match results need improvement, return to find-and-label with focused training data for the patterns being missed, then retrain. Remove stopwords from fields like addresses and company names to improve blocking.

If the Zingg job is slow, add more labels. The blocking model learns from the labels and adding more matches will help it branch better.

right-long
right-long
right-long

Last updated

Was this helpful?