Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Principle:Sdv dev SDV Cardinality Analysis

From Leeroopedia
Revision as of 18:14, 16 February 2026 by Admin (talk | contribs) (Auto-imported from principles/Sdv_dev_SDV_Cardinality_Analysis.md)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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=|rowschild: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