Giter VIP home page Giter VIP logo

747_assignment's Introduction

747_assignment

Repo to hold 747 assignment and project.

To train the latest models,

cd assignment_01/scripts and run

sh train.sh

train.sh basically runs the training with
a) different hidden layer configs and
b) different number of medical codes in the current visit to consider while predicting the diagnosis in the next visit

and puts the models into the folder models_$$. See the corresponding train.py for specific details.

Experiment configs available:

  1. Training the medical codes of a particular visit to discover the structure among the diagnosed diseases ( similar to Language Modeling ) - 02_rnnlm.py
  2. Training the medical codes of current visit to predict the medical codes in the next visit - 06_train_seq2seq.py
  3. Training the medical codes of current visit to predict the most important disease code in the next visit ( similar to Machine Translation ) - 07_train_seq2imp_printprediction.py
  4. Training on the first N medical codes of current visit to predict the most important disease code in the next visit - 08_train_seq2imp_printprediction_firstN.py

Experiments about hierarchical attention in the sub folder phase_02

Running the basic scripts populates a whole bunch of folders ( one for each patient )

747_assignment's People

Contributors

saikrishnarallabandi avatar

Watchers

James Cloos avatar  avatar

Forkers

qicst23

747_assignment's Issues

Value Error due to missing sequence values

Value Error occurs as the sequence IDs are missing for some values.

Error: Value Error at admission ID: 102633 and code D_E849.7

Code to reproduce the error: r01_process_mimic.py

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.