Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:Sdv dev SDV Cardinality Analysis

From Leeroopedia
Knowledge Sources
Domains Visualization, Relational_Data, Data_Quality
Last Updated 2026-02-14 00:00 GMT

Overview

A visualization technique that compares the distribution of parent-child row counts between real and synthetic relational data.

Description

Cardinality analysis visualizes how many child rows each parent row has, comparing real vs synthetic data. This reveals whether the synthesizer correctly reproduces the distribution of relationship cardinalities (e.g., how many orders per customer, how many items per order). It is specific to multi-table data.

Usage

Use after generating multi-table synthetic data to verify that parent-child relationship cardinalities are preserved.

Theoretical Basis

For a parent-child relationship with foreign key FK:

  • Compute cardinality per parent: Ci=|rows∈child:FK=PKi|
  • Compare distributions of Creal vs Csynthetic

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment