hierarchical data generation for causal discovery and abstraction
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
causalspyne-0.1.6.tar.gz
(85.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file causalspyne-0.1.6.tar.gz.
File metadata
- Download URL: causalspyne-0.1.6.tar.gz
- Upload date:
- Size: 85.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75e92248967e581834b68c581596efc0d30a142f43460e561b6e79726b4f0b9b
|
|
| MD5 |
fd835d96051382f5e3bce76bdff8cac4
|
|
| BLAKE2b-256 |
4eed89ae414fa9339cbe4cb2457abbbd7d991b0c7c3dbefd81eb827e377b030e
|
File details
Details for the file causalspyne-0.1.6-py3-none-any.whl.
File metadata
- Download URL: causalspyne-0.1.6-py3-none-any.whl
- Upload date:
- Size: 30.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4218a1099654aa3ea557cf5e2e2ddccbf2eee1e06ee47b0de3bec17ae2d2e5e
|
|
| MD5 |
76bf1858d14c456867665b25723289b2
|
|
| BLAKE2b-256 |
8c0f19df8e4ec62599327a34705e31ad2d4e7501c91102af0d78999ddbb89309
|