Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -16,8 +16,6 @@ license: mit
|
|
| 16 |
|
| 17 |
A comprehensive benchmark framework designed to rigorously evaluate state-of-the-art causal discovery algorithms for dynamical systems.
|
| 18 |
|
| 19 |
-
## Key Features
|
| 20 |
-
|
| 21 |
1️⃣ **Large-Scale Benchmark**. Systematically evaluate state-of-the-art causal discovery algorithms on thousands of graph challenges with increasing difficulty.
|
| 22 |
|
| 23 |
2️⃣ **Customizable Data Generation**. Scalable, user-friendly generation of increasingly complex coupled ordinary and stochastic systems of differential equations
|
|
@@ -26,22 +24,38 @@ A comprehensive benchmark framework designed to rigorously evaluate state-of-the
|
|
| 26 |
|
| 27 |
**Abstract**: Causal discovery for dynamical systems poses a major challenge in fields where active interventions are infeasible. Most methods used to investigate these systems and their associated benchmarks are tailored to deterministic, low-dimensional and weakly nonlinear time-series data. To address these limitations, we present *CausalDynamics*, a large-scale benchmark and extensible data generation framework to advance the structural discovery of dynamical causal models. Our benchmark consists of true causal graphs derived from thousands of coupled ordinary and stochastic differential equations as well as two idealized climate models. We perform a comprehensive evaluation of state-of-the-art causal discovery algorithms for graph reconstruction on systems with noisy, confounded, and lagged dynamics. *CausalDynamics* consists of a plug-and-play, build-your-own coupling workflow that enables the construction of a hierarchy of physical systems. We anticipate that our framework will facilitate the development of robust causal discovery algorithms that are broadly applicable across domains while addressing their unique challenges.
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
## Installation
|
|
|
|
|
|
|
| 31 |
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
```
|
| 36 |
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
|
|
|
| 41 |
```
|
| 42 |
|
| 43 |
-
|
|
|
|
|
|
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
## Getting Started
|
| 47 |
|
|
@@ -59,21 +73,5 @@ See the [additional installation guide](#additional-installation-guide) for more
|
|
| 59 |
- [Evaluation](https://kausable.github.io/CausalDynamics/notebooks/eval_pipeline.html)
|
| 60 |
- [Leaderboard](https://kausable.github.io/CausalDynamics/leaderboard.html)
|
| 61 |
|
| 62 |
-
## Additional Installation Guide
|
| 63 |
-
Note: This is the recommended way if you want to run scripts to generate benchmark data. Clone the repository and install it using [pdm](https://pdm-project.org/en/latest/):
|
| 64 |
-
|
| 65 |
-
```shell
|
| 66 |
-
git clone https://github.com/kausable/CausalDynamics.git
|
| 67 |
-
pdm install
|
| 68 |
-
```
|
| 69 |
-
|
| 70 |
-
You can test whether the installation succeded by creating some coupled causal model data:
|
| 71 |
-
|
| 72 |
-
```shell
|
| 73 |
-
python src/causaldynamics/creator.py --config config.yaml
|
| 74 |
-
```
|
| 75 |
-
|
| 76 |
-
You find the output at `output/<timestamp>` as default location.
|
| 77 |
-
|
| 78 |
## Citation
|
| 79 |
If you find any of the code and dataset useful, feel free to acknowledge our work through:
|
|
|
|
| 16 |
|
| 17 |
A comprehensive benchmark framework designed to rigorously evaluate state-of-the-art causal discovery algorithms for dynamical systems.
|
| 18 |
|
|
|
|
|
|
|
| 19 |
1️⃣ **Large-Scale Benchmark**. Systematically evaluate state-of-the-art causal discovery algorithms on thousands of graph challenges with increasing difficulty.
|
| 20 |
|
| 21 |
2️⃣ **Customizable Data Generation**. Scalable, user-friendly generation of increasingly complex coupled ordinary and stochastic systems of differential equations
|
|
|
|
| 24 |
|
| 25 |
**Abstract**: Causal discovery for dynamical systems poses a major challenge in fields where active interventions are infeasible. Most methods used to investigate these systems and their associated benchmarks are tailored to deterministic, low-dimensional and weakly nonlinear time-series data. To address these limitations, we present *CausalDynamics*, a large-scale benchmark and extensible data generation framework to advance the structural discovery of dynamical causal models. Our benchmark consists of true causal graphs derived from thousands of coupled ordinary and stochastic differential equations as well as two idealized climate models. We perform a comprehensive evaluation of state-of-the-art causal discovery algorithms for graph reconstruction on systems with noisy, confounded, and lagged dynamics. *CausalDynamics* consists of a plug-and-play, build-your-own coupling workflow that enables the construction of a hierarchy of physical systems. We anticipate that our framework will facilitate the development of robust causal discovery algorithms that are broadly applicable across domains while addressing their unique challenges.
|
| 26 |
|
| 27 |
+
## Preprocessed Datasets
|
| 28 |
+
You can generate your own dataset (see [getting started](#getting-started)), but you can also download our preprocessed ones directly from HuggingFace:
|
| 29 |
+
```bash
|
| 30 |
+
wget https://huggingface.co/datasets/kausable/CausalDynamics/resolve/main/process_causaldynamics.py
|
| 31 |
+
python process_causaldynamics.py
|
| 32 |
+
```
|
| 33 |
|
| 34 |
## Installation
|
| 35 |
+
### Using pdm
|
| 36 |
+
Clone the repository and install it using [pdm](https://pdm-project.org/en/latest/):
|
| 37 |
|
| 38 |
+
```shell
|
| 39 |
+
git clone https://github.com/kausable/CausalDynamics.git
|
| 40 |
+
pdm install
|
| 41 |
```
|
| 42 |
|
| 43 |
+
You can test whether the installation succeded by creating some coupled causal model data:
|
| 44 |
+
|
| 45 |
+
```shell
|
| 46 |
+
$(pdm venv activate)
|
| 47 |
+
python src/causaldynamics/creator.py --config config.yaml
|
| 48 |
```
|
| 49 |
|
| 50 |
+
You find the output at `output/<timestamp>` as default location.
|
| 51 |
+
|
| 52 |
+
### Using pip
|
| 53 |
|
| 54 |
+
Alternatively, `causaldynamics` is available on [PyPi](https://pypi.org/project/causaldynamics/), so you can use pip to install `causaldynamcis`, which currently requires Python version `3.10`.
|
| 55 |
+
|
| 56 |
+
```bash
|
| 57 |
+
pip install causaldynamics
|
| 58 |
+
```
|
| 59 |
|
| 60 |
## Getting Started
|
| 61 |
|
|
|
|
| 73 |
- [Evaluation](https://kausable.github.io/CausalDynamics/notebooks/eval_pipeline.html)
|
| 74 |
- [Leaderboard](https://kausable.github.io/CausalDynamics/leaderboard.html)
|
| 75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
## Citation
|
| 77 |
If you find any of the code and dataset useful, feel free to acknowledge our work through:
|