Skip to main content

Add your description here

Project description

CausalSpyne

PyPI version test coverage

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.5.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

causalspyne-0.1.5-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file causalspyne-0.1.5.tar.gz.

File metadata

  • Download URL: causalspyne-0.1.5.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for causalspyne-0.1.5.tar.gz
Algorithm Hash digest
SHA256 d885290f93ca70d42892e7566770518ebb66bb3193d4afd16d6d6ebf8de00379
MD5 f506412d78f9d7e8d9d2c14ba34dfb0b
BLAKE2b-256 89f60cbd75a28413729628c783e94414c12cfceeda474e6b161aae1ed8c462f7

See more details on using hashes here.

File details

Details for the file causalspyne-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for causalspyne-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a3c0453d08d7e65653cbe92c21becb1d714a7004f11abc4de33fa1355d8be3fb
MD5 d061fddf4a8ba9674e22bde3eb0c87f0
BLAKE2b-256 aeec5142734a2d57beceecbde8b6500e5b0af1dad61ba3d21f010e6f143ea0e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page