Comparing methods for causality analysis in a fair and just way.
Project description
Introduction
Evaluating causal inference methods in a scientifically thorough way is a cumbersome and error-prone task. To foster good scientific practice JustCause provides a framework to easily:
- evaluate your method using common data sets like IHDP, IBM ACIC, and others;
- create synthetic data sets with a generic but standardized approach;
- benchmark your method against several baseline and state-of-the-art methods.
Our cause is to develop a framework that allows you to compare methods for causal inference in a fair and just way. JustCause is a work in progress and new contributors are always welcome.
Installation
If you just want to use the functionality of JustCause, install it with:
pip install justcause
Consider using conda to create a virtual environment first.
Developers that want to develop and contribute own algorithms and data sets to the JustCause framework, should:
-
clone the repository and change into the directory
git clone https://github.com/inovex/justcause.git cd justcause
-
create an environment
justcause
with the help of conda,conda env create -f environment.yaml
-
activate the new environment with
conda activate justcause
-
install
justcause
with:python setup.py install # or `develop`
Optional and needed only once after git clone
:
- install several pre-commit git hooks with:
and checkout the configuration underpre-commit install
.pre-commit-config.yaml
. The-n, --no-verify
flag ofgit commit
can be used to deactivate pre-commit hooks temporarily.
Related Projects & Resources
- causalml: causal inference with machine learning algorithms in Python
- DoWhy: causal inference using graphs for identification
- EconML: Heterogeneous Effect Estimation in Python
- awesome-list: A very extensive list of causal methods and respective code
- IBM-Causal-Inference-Benchmarking-Framework: Causal Inference Benchmarking Framework by IBM
- CausalNex: Bayesian Networks to combine machine learning and domain expertise for causal reasoning.
Note
This project has been set up using PyScaffold 3.2.2 and the dsproject extension 0.4. For details and usage information on PyScaffold see https://pyscaffold.org/.
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
Built Distribution
File details
Details for the file JustCause-0.3.2.tar.gz
.
File metadata
- Download URL: JustCause-0.3.2.tar.gz
- Upload date:
- Size: 7.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d994bda9b0d6fa01595ac77d1732da36745042e88a46e851f47910f3c9c2659e |
|
MD5 | 75e588efd06168fe59c4c1322e7e94cd |
|
BLAKE2b-256 | 3568a5ae73afae9697b991b04e54b15220c6b23eca6a3079e3bffba51a1490d3 |
File details
Details for the file JustCause-0.3.2-py2.py3-none-any.whl
.
File metadata
- Download URL: JustCause-0.3.2-py2.py3-none-any.whl
- Upload date:
- Size: 50.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5559bb886a3e58c4feacaa2679a48bfd28071cbf8a34a663a6a713d0031d1f99 |
|
MD5 | dc87a4715bb8fd7741f6854437a1e94d |
|
BLAKE2b-256 | 8dec767d453b101a39a719167408e5687863fde44cee57b1a844b4ee157f707d |