Giter VIP home page Giter VIP logo

dlh_final_project's Introduction

Deep Learning for Healthcare Final Project

We researched the paper "Applying Convolutional Neural Networks to Predict the ICD-9 Codes of Medical Records" and reproduced the results from this paper.

Original Paper Citation: Hsu J-L, Hsu T-J, Hsieh C-H, Singaravelan A. Applying Convolutional Neural Networks to Predict the ICD-9 Codes of Medical Records. Sensors. 2020; 20(24):7116. https://doi.org/10.3390/s20247116

Link to codebase: https://github.com/zliendo/AI_MedicalNotes/blob/master/pipeline/icd9_lstm_cnn_workbook.ipynb

Dependencies:

  • pandasql
  • numpy
  • pandas
  • keras
  • sklearn
  • tensorflow

Dataset: MIMIC III https://mimic.mit.edu/

Instructions for downloading dataset: https://eicu-crd.mit.edu/gettingstarted/access/

  • This is the Medical Information Mart for Intensive Care Dataset. You can obtain it by getting approval on the Physionet website. This is dataset is publically available and contains deidentified health-related data. You will also need to complete the Collaborative Institutional Training Initiative (CITI) Program's "Data or Specimens Only Research" course. Once you complete this training program and apply you can become a credentialed Physionet user.

Data Cleaning and Pre-Processing:

  • used pandasql and regular expressions for the initial cleaning of the code and consolidation to a dataframe with the proper formatting of ICD-9 codes. We then pre-processed the data by vectorizing the document
  • 10 fold cross-validation

Models:

  • LSTM Model
  • CNN Model
    • convolution layer
    • embedding layer: we created our own pretrained glove embedding
    • max pooling layer
    • flatten
    • dropout layer
    • 15 epochs
    • 32 batch size
    • 0.001 learning rate
    • Adam Optimizer

Evaluation:

  • accuracy
  • recall
  • precision
  • f1 score

Table of Results for CNN Model:

Screen Shot 2022-05-07 at 9 24 51 PM

Screen Shot 2022-05-07 at 9 25 06 PM

dlh_final_project's People

Contributors

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