CoolFace
Apppublic

likithreddy949/sdg-synthetic-data

sourceHugging Facemitupdated 4mo agoView on Hugging Face
0likes
App README

SDG — Synthetic Data Generator

A support-aware, rule-governed, autoregressive synthetic data generator for tabular data.

What it does

Upload a CSV. The pipeline automatically:

  • —Detects one-hot encoded column groups and collapses them
  • —Identifies deterministic fields that can be computed from others
  • —Records value bounds and integer constraints
  • —Maps valid categorical combinations
  • —Infers optimal generation order
  • —Trains a GRU autoregressive model on stochastic fields only
  • —Generates new synthetic rows with 100% structural validity
  • —Returns a downloadable CSV of synthetic data

Benchmark results

Compared to CTGAN (SDV library) on identical splits:

DatasetOur PipelineCTGANImprovement
Covertype Utility Gap0.1130.4434× better
Covertype Training40 min8 hours12× faster
Adult Income Utility Gap0.0390.06035% better

Architecture

Six-piece pipeline: Rule System, Dependency Graph, Probabilistic Generator (GRU AR), Deterministic Resolver, Legality Shell, Evaluation Layer.

Philosophy: Learn only what is uncertain. Compute what is deterministic. Reject what violates support.

Tech stack

PyTorch · NumPy · Pandas · scikit-learn · Gradio