Interactively generating causal data from structural causal models.
Project description
Overview
The CausalPlayground library serves as a tool for causality research, focusing on the interactive exploration of structural causal models (SCMs). It provides extensive functionality for creating, manipulating and sampling SCMs, seamlessly integrating them with the Gymnasium framework. Users have complete control over SCMs, enabling precise manipulation and interaction with causal mechanisms. Additionally, CausalPlayground offers a range of useful helper functions for generating diverse instances of SCMs and DAGs, facilitating quantitative experimentation and evaluation. Notably, the library is optimized for (but not limited to) easy integration with reinforcement learning methods, enhancing its utility in active inference and learning settings. Find the complete API documentation and a quickstart guide here.
Installation guide
In your python environment pip install causal-playground
.
Contributing
Contributions are highly welcomed and encouraged! To contribute to the project, please follow the following steps:
- Fork the project.
- Create a local branch
my-awesome-new-feature
. - Implement your new feature in the newly created branch.
- Make sure you provide sufficient documentation and test-cases.
- Open a pull request.
Alternatively, you can open a well-described issue.
Citing this work
If you are using this library, please consider citing us: TODO
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file causal_playground-0.1.2.tar.gz
.
File metadata
- Download URL: causal_playground-0.1.2.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e823255158e56252ce8dcf4a7675329bc916ac2bab4f0da104f62d286c7e539 |
|
MD5 | c0775cc2f6aadfa90af21cfdf705f97e |
|
BLAKE2b-256 | 1e81d8dc540b9cfb1085283de71306ec8919a3cdf5329d6cb86c1e321153c132 |
File details
Details for the file causal_playground-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: causal_playground-0.1.2-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d73d2fd6cffd9353a31d6c60568cf75b5587aa7376ebe7cd02fa7e571f6f51c |
|
MD5 | d81117a4df3172149470426af121b16d |
|
BLAKE2b-256 | 12cf8b5aa98ce6445d9e1da670f1b91b7f53002fd7762243a5103f23116a5ac7 |