Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

causal-playground-0.1.1.tar.gz (19.0 kB view hashes)

Uploaded Source

Built Distribution

causal_playground-0.1.1-py3-none-any.whl (18.0 kB view hashes)

Uploaded Python 3

Supported by

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