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
justcausewith the help of conda,conda env create -f environment.yaml -
activate the new environment with
conda activate justcause -
install
justcausewith: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-verifyflag ofgit commitcan 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/.
Metadata
Release files for JustCause 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| JustCause-0.4.tar.gz | 7.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| JustCause-0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 7.3 MB
Release files / JustCause-0.4.tar.gz
| Download URL | JustCause-0.4.tar.gz |
|---|---|
| Size | 7.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf490826b75ff73302e9bbe9d1e35f42dc824d1a68d747ae821c484c3f010ffd
|
|
BLAKE2b-256 checksum How to use checksums |
ee8adf4460b6debad35efbc4f575324601770430da09fa089f4b9539a2de7831
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|
Release files / JustCause-0.4-py2.py3-none-any.whl
| Download URL | JustCause-0.4-py2.py3-none-any.whl |
|---|---|
| Size | 32.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ee67ff785b5c4d04de3b835ed3a4891a97eccb53018705a5d2c630cbe312bc0b
|
|
BLAKE2b-256 checksum How to use checksums |
bcae9a546199a94b186ec9f10164356b6b3e1ca4559ba29c436a03b8038647d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|