CausalSpyne
A Python package for simulating data from confounded causal models.
Quick start
Install with: pip install causalspyne
Generate some data:
from causalspyne import gen_partially_observed
gen_partially_observed(size_micro_node_dag=4,
num_macro_nodes=4,
degree=2, # average vertex/node degree
list_confounder2hide=[0.5, 0.9], # choie of confounder to hide: percentile or index of all toplogically sorted confounders
num_sample=200,
output_dir="output",
rng=0)
Submodules
git submodule update --init
Metadata
Release files for causalspyne 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| causalspyne-0.1.6.tar.gz | 85.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| causalspyne-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 115.8 kB
Release files / causalspyne-0.1.6.tar.gz
| Download URL | causalspyne-0.1.6.tar.gz |
|---|---|
| Size | 85.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75e92248967e581834b68c581596efc0d30a142f43460e561b6e79726b4f0b9b
|
|
BLAKE2b-256 checksum How to use checksums |
4eed89ae414fa9339cbe4cb2457abbbd7d991b0c7c3dbefd81eb827e377b030e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.2
|
Release files / causalspyne-0.1.6-py3-none-any.whl
| Download URL | causalspyne-0.1.6-py3-none-any.whl |
|---|---|
| Size | 30.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4218a1099654aa3ea557cf5e2e2ddccbf2eee1e06ee47b0de3bec17ae2d2e5e
|
|
BLAKE2b-256 checksum How to use checksums |
8c0f19df8e4ec62599327a34705e31ad2d4e7501c91102af0d78999ddbb89309
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.2
|