Giter VIP home page Giter VIP logo

cse6250-final-project's Introduction

CSE 6250 BD4H - Final Project

Prerequisites

Dependency

  • Pytorch >=0.4
  • Python >=3.5

Dataset

  • MIMIC-III

Download MIMIC-III dataset and put DIAGNOSES_ICD.csv, PRESCRIPTIONS.csv, PROCEDURES_ICD.csv in ./data

  • Drug-Drug Interactions

Download Drug-Drug Interactions dataset and put drug-DDI.csv in ./data/

On-board the Project in Google Colab

To import the project in Google Colab, we recommend you to read below articles.

Run the Code

Modify Project Path

In the code, there are certain specified paths that currently access to our dedicated Google Drive directory.

You are able to customize the project path in your own Google Drive directory.

<CSE6250_Team_G3_final_submission.ipynb>

drive.mount('/content/gdrive')

sys.path.append("/content/gdrive/.../GAMENet/colab_env/lib/python3.10/site-packages")

path = "/content/gdrive/.../GAMENet/code_"
os.chdir(path)

End-to-End ML Pipeline

  1. Open './CSE6250_Team_G3_final_submission.ipynb'
  2. Runtime > Change runtime type > T4 GPU (or any available GPU)
  3. Runtime > Run all

Training

  1. Open './CSE6250_Team_G3_final_submission.ipynb'
  2. Runtime > Change runtime type > T4 GPU (or any available GPU)
  3. Run the End-to-End ML Pipeline to warm-up
  4. In the section 'Running the Model - Train', adjust 'epoch_' to the target epoch (by default, a single epoch)
  5. Run the cell
  6. Model checkpoints and a final model will be saved in './code_/saved...'

Testing

  1. Open './CSE6250_Team_G3_final_submission.ipynb'
  2. Runtime > Change runtime type > T4 GPU (or any available GPU)
  3. Run the End-to-End ML Pipeline to warm-up
  4. In the section 'Running the Model - Test', modify 'resume_path' to the target model (by default, a pre-trained model will be loaded)
  5. Run the cell
  6. Evaluation will be executed.

cse6250-final-project's People

Contributors

taehyeok-jang 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.