Skip to main content

Comparing methods for causality analysis in a fair and just way.

Project description

Docs Status CI Status Coverage Status Code style: black PyPI-Server

JustCause logo


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:

  1. evaluate your method using common data sets like IHDP, IBM ACIC, and others;
  2. create synthetic data sets with a generic but standardized approach;
  3. 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:

  1. clone the repository and change into the directory

    git clone https://github.com/inovex/justcause.git
    cd justcause
    
  2. create an environment justcause with the help of conda,

    conda env create -f environment.yaml
    
  3. activate the new environment with

    conda activate justcause
    
  4. install justcause with:

    python setup.py install # or `develop`
    

Optional and needed only once after git clone:

  1. install several pre-commit git hooks with:
    pre-commit install
    
    and checkout the configuration under .pre-commit-config.yaml. The -n, --no-verify flag of git commit can be used to deactivate pre-commit hooks temporarily.

Related Projects & Resources

  1. causalml: causal inference with machine learning algorithms in Python
  2. DoWhy: causal inference using graphs for identification
  3. EconML: Heterogeneous Effect Estimation in Python
  4. awesome-list: A very extensive list of causal methods and respective code
  5. IBM-Causal-Inference-Benchmarking-Framework: Causal Inference Benchmarking Framework by IBM
  6. 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

JustCause-0.3.1.tar.gz (7.3 MB view details)

Uploaded Source

Built Distribution

JustCause-0.3.1-py2.py3-none-any.whl (50.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file JustCause-0.3.1.tar.gz.

File metadata

  • Download URL: JustCause-0.3.1.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/42.0.2.post20191201 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.6

File hashes

Hashes for JustCause-0.3.1.tar.gz
Algorithm Hash digest
SHA256 0e51e9de7c2eed8fc1205a52d0a4d782ba6850f8b8d936d161e0eada4798ee38
MD5 ce4114560b76d1b12f0ff5255f30392f
BLAKE2b-256 bdecaf85ffc059e3139c4ab2b7bcc6be7542b00c753f132c6eec327b205ab4c3

See more details on using hashes here.

File details

Details for the file JustCause-0.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: JustCause-0.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 50.4 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/42.0.2.post20191201 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.6

File hashes

Hashes for JustCause-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1dd89de80554c40cd5cd91e953cd39553c103e064586798b613f2f0014b6d28b
MD5 3a59999c5fb62129417597226211f403
BLAKE2b-256 226666025c27d92085903fd2f6680546f6c65b5c3acbdb930f05ac3f4ea273f9

See more details on using hashes here.

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