TabDGP
A data-generating process (DGP) for grouped and flat tables: grouping structure and typed covariates with the quirks of real data.
What and why
- Measured against real tables. The default hyperprior is matched to mixedbench's registry of real grouped tables, then widened; two tests prove it: generated tables are indistinguishable from real ones on their summary statistics, and every real table lies inside the generated support.
- White-box. Every dataset comes with its generating graph, its latent nodes and its column metadata (type, levels, role).
- Composable. One structural causal model whose nodes are grouping factors, group-level and within-group covariates, time and treatment; a flat table is the case without grouping factors.
- The quirks i.i.d. simulators lack. Group confounding, empty cells, rare levels, ties, bounds, irregular time, near dependence, leverage points: a catalogue, each quirk measured on real tables before it gets an axis.
- Covariates only. The outcome belongs to whoever fits a model; an optional outcome node builds white-box misspecified datasets.
- Overridable. Every quantity has a default distribution; pass a point value or another distribution for any of them.
Install
pip install tabdgp
From source:
git clone https://github.com/adkipnis/tabdgp
cd tabdgp
uv sync
Quickstart
The first call arrives with roadmap item 1; see ROADMAP.md.
Contents
- The package
tabdgpundersrc/. CONTEXT.md: the vocabulary;docs/adr/: the design decisions.
Contributing
Interested in becoming part of TabDGP? Check out CONTRIBUTING.md.
Licence
MIT.
Metadata
Release files for tabdgp 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tabdgp-0.0.1.tar.gz | 25.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tabdgp-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.2 kB
Release files / tabdgp-0.0.1.tar.gz
| Download URL | tabdgp-0.0.1.tar.gz |
|---|---|
| Size | 25.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d283340e1b2b2440e821833fbfa92633553cf95720c1f191c3a5ed9245db858
|
|
BLAKE2b-256 checksum How to use checksums |
089b39081aaecbfb4e87c8d6c243a8f83dc8a2f0f1acf090cfad2fbcc3a30264
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / tabdgp-0.0.1-py3-none-any.whl
| Download URL | tabdgp-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
546d7f549d0caf403f7f365e51e4a3c473cb765d94d955285a5cff1bc34b3995
|
|
BLAKE2b-256 checksum How to use checksums |
037f4e4cf72a3a69505cc3f56c61b5d2845d5ca3e3d68c05b49065ce8913abeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|