Giter Site home page Giter Site logo

dr-crn's Introduction

DR-CRN

This is the code for implementing DR-CRN proposed in "Disentangled Representation for Sequential Treatment Effect Estimation" (under review).

It is written in python 3.7 with numpy 1.18.1 and tensorflow 1.13.1.

The code of DR-CRN is built upon the Counterfactual Recurrent Network (CRN) work of Ioana Bica et al.(2020), https://github.com/ioanabica/Counterfactual-Recurrent-Network. The dataset generation, hyper-parameter searching, network training and evaluation follow the procedures of CRN to ensure fair comparison.

Dataset

Dataset will be automatically generated when you run "run_DRCRN.py". Generated dataset will be saved in "results_dir"ใ€‚

Example

To run parameter search and evaluate the results:

python run_DRCRN.py --chemo_coeff=5 --radio_coeff=5 --model_name=DRCRN --b_encoder_hyperparm_tuning=True --b_decoder_hyperparm_tuning=True

dr-crn's People

Contributors

ruinchu avatar

Stargazers

 avatar

Watchers

Zhenxiao Ge avatar  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.