Giter Site home page Giter Site logo

sabazm / counterfactual-prediction Goto Github PK

View Code? Open in Web Editor NEW

This project forked from junhaobearxiong/counterfactual-prediction

0.0 0.0 0.0 92.56 MB

State space model + data pipeline to generate counterfactual time series trajectories on multiple clinical signals, used to evaluate the utility of counterfactual features in sepsis prediction

Python 0.83% Jupyter Notebook 99.17%

counterfactual-prediction's Introduction

Counterfactual-Prediction

Create counterfactual trajectory of a signal given past trajectory and some contexts (Please see the pdf file for a more detailed description of the model and the data pipeline)

Files Description

  • PDF file
    • Detailed write up of the model and results
  • Python files
    • EM.py: perform inference and parameter estimation
    • plot.py: plot predicted states and observations
  • Notebook files
    • Pipeline_Preprocessing: extract relevant data from database files; preprocess; perform inference, parameter estimation and prediction
    • Pipeline_Training: given preprocessed file, perform training, can perform hyperparameter validation and training on multiple signals through parallel computing (using ipyparallel)
    • DLM: simulation to evaluate model's performance
  • Old dev files
    • EM_individual_params: EM for learning individual parameters (incomplete)
    • preprocess.py: preprocess data into format usable for EM.py (more general version is in Pipeline_Preprocessing.py)
    • Population Level Analysis: assume the same set of parameters for all patients; fit to real data
    • Individual Level Analysis: assume a set of parameters for each patients; fit to real data
    • Source Data Analysis: some analysis on the real data set before and after preprocessing
    • Playground: place to do small analysis and testing

counterfactual-prediction's People

Contributors

junhaobearxiong 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.