Data Lineage
Last updated
from sdv.multi_table import HSASynthesizer
synthesizer = HSASynthesizer(metadata)
# detect data lineage logic as constraints
detected_constraints = synthesizer.detect_constraints(data)
synthesizer.add_constraints(detected_constraints)
# now the synthetic data includes data lineage rules
synthesizer.fit(data)
synthetic_data = synthesizer.sample()