Giter Site home page Giter Site logo

misoc-mml / undersmoothing-data-augmentation Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 42 KB

Undersmoothing Causal Estimators with Generative Trees

License: GNU General Public License v3.0

Shell 7.66% Python 92.34%
causal-inference treatment-effect generative-models decision-trees

undersmoothing-data-augmentation's Introduction

Undersmoothing Causal Estimators with Generative Trees

This code accompanies the paper Undersmoothing Causal Estimators with Generative Trees [1].

The experimental setup is based on the CATE benchmark and extended to test our proposed DeGeTs framework.

Installation

The easiest way to replicate the running environment is through Anaconda. Once installed, follow the steps below.

  1. Download the repo.
  2. Enter the directory (i.e. cd cate-benchmark).
  3. Run the following command to recreate the 'cate-bench' conda environment:

conda env create -f environment.yml

  1. Download datasets from here. Once downloaded, extract them to 'datasets' directory.

Important Files

  • main.py - main script to run the experiments.
  • models/tree_balancing.py - our proposed DeGeTs framework (DeGeDTs and DeGeF).
  • utils.py - helper functions.

Experiments

Head to `experiments' folder to run the main script in a more automated and convenient way.

experiments/full_run.sh - Replicates 100% of the experiments as in the paper. Note this full setup takes days/weeks to complete, even on fairly strong machines.

experiments/demo.sh - A small experimental run for demonstration purposes. It involves the IHDP data set (10/1000 iterations) and only selected estimators.

Note the intermediate results printed to the console while running the scripts show mean +- standard error. The final results in the paper were computed separately from outputted CSV files in order to show mean +- 95% confidence intervals.

More Info

For more details about how to use the framework and analyse the results, please visit the CATE benchmark website.

References

[1] D. Machlanski, S. Samothrakis, and P. Clarke, ‘Undersmoothing Causal Estimators with Generative Trees’, arXiv:2203.08570 [cs, stat], Mar. 2022, doi: 10.48550/arXiv.2203.08570.

undersmoothing-data-augmentation's People

Contributors

dmachlanski avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.