tabdgp 0.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
tabdgp/__init__.py
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: tabdgp
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: A data-generating process for grouped and flat tables, matched to a registry of real tables
|
|
5
|
+
Project-URL: Repository, https://github.com/adkipnis/tabdgp
|
|
6
|
+
Project-URL: Issues, https://github.com/adkipnis/tabdgp/issues
|
|
7
|
+
Project-URL: Roadmap, https://github.com/adkipnis/tabdgp/blob/main/ROADMAP.md
|
|
8
|
+
Author-email: Alex Kipnis <adkipnis@users.noreply.github.com>
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Classifier: Development Status :: 1 - Planning
|
|
12
|
+
Classifier: Intended Audience :: Science/Research
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
+
Classifier: Topic :: Scientific/Engineering
|
|
16
|
+
Requires-Python: >=3.14
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
|
|
19
|
+
[](https://github.com/adkipnis/tabdgp/actions/workflows/ci.yml)
|
|
20
|
+
[](https://github.com/adkipnis/tabdgp/blob/main/LICENSE)
|
|
21
|
+
|
|
22
|
+
# TabDGP
|
|
23
|
+
|
|
24
|
+
A data-generating process (DGP) for grouped and flat tables: grouping structure and typed
|
|
25
|
+
covariates with the quirks of real data.
|
|
26
|
+
|
|
27
|
+
## What and why
|
|
28
|
+
|
|
29
|
+
- **Measured against real tables.** The default hyperprior is matched to
|
|
30
|
+
[mixedbench](https://github.com/adkipnis/mixedbench)'s registry of real grouped tables, then
|
|
31
|
+
widened; two tests prove it: generated tables are indistinguishable from real ones on their
|
|
32
|
+
summary statistics, and every real table lies inside the generated support.
|
|
33
|
+
- **White-box.** Every dataset comes with its generating graph, its latent nodes and its column
|
|
34
|
+
metadata (type, levels, role).
|
|
35
|
+
- **Composable.** One structural causal model whose nodes are grouping factors, group-level and
|
|
36
|
+
within-group covariates, time and treatment; a flat table is the case without grouping
|
|
37
|
+
factors.
|
|
38
|
+
- **The quirks i.i.d. simulators lack.** Group confounding, empty cells, rare levels, ties,
|
|
39
|
+
bounds, irregular time, near dependence, leverage points: a catalogue, each quirk measured on
|
|
40
|
+
real tables before it gets an axis.
|
|
41
|
+
- **Covariates only.** The outcome belongs to whoever fits a model; an optional outcome node
|
|
42
|
+
builds white-box misspecified datasets.
|
|
43
|
+
- **Overridable.** Every quantity has a default distribution; pass a point value or another
|
|
44
|
+
distribution for any of them.
|
|
45
|
+
|
|
46
|
+
## Install
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
pip install tabdgp
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
From source:
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
git clone https://github.com/adkipnis/tabdgp
|
|
56
|
+
cd tabdgp
|
|
57
|
+
uv sync
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Quickstart
|
|
61
|
+
|
|
62
|
+
The first call arrives with roadmap item 1; see [`ROADMAP.md`](https://github.com/adkipnis/tabdgp/blob/main/ROADMAP.md).
|
|
63
|
+
|
|
64
|
+
## Contents
|
|
65
|
+
|
|
66
|
+
- The package `tabdgp` under `src/`.
|
|
67
|
+
- [`CONTEXT.md`](https://github.com/adkipnis/tabdgp/blob/main/CONTEXT.md): the vocabulary;
|
|
68
|
+
[`docs/adr/`](https://github.com/adkipnis/tabdgp/tree/main/docs/adr): the design decisions.
|
|
69
|
+
|
|
70
|
+
## Contributing
|
|
71
|
+
|
|
72
|
+
Interested in becoming part of TabDGP? Check out [`CONTRIBUTING.md`](https://github.com/adkipnis/tabdgp/blob/main/CONTRIBUTING.md).
|
|
73
|
+
|
|
74
|
+
## Licence
|
|
75
|
+
|
|
76
|
+
[MIT](https://github.com/adkipnis/tabdgp/blob/main/LICENSE).
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
tabdgp/__init__.py,sha256=_ebMiYBBwGy-jMK0pPpqIIK5vpk3I_5bYdMn_4NstFQ,83
|
|
2
|
+
tabdgp-0.0.1.dist-info/METADATA,sha256=bTepfllQeJfW42UR6XPKTPwtwb-dXCCNFGpAvoQj1RI,3063
|
|
3
|
+
tabdgp-0.0.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
4
|
+
tabdgp-0.0.1.dist-info/licenses/LICENSE,sha256=BV4J5rumRHp_1rIj_3Zr-WnYv3PayVGxQk0su9Lyr_s,1068
|
|
5
|
+
tabdgp-0.0.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Alex Kipnis
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|