Coder Social home page Coder Social logo

chln's Introduction

Collaborative Hypergraph Neural Network for Sequential Diagnosis Prediction

Codes for paper: Collaborative Hypergraph Neural Network for Sequential Diagnosis Prediction

Requirements

pip install -r requirements.txt

1. Prepare the datasets

(1) Download the MIMIC-III and MIMIC-IV datasets

The original datasets can be downloaded from the following URLs.

Go to https://mimic.physionet.org/ for access. Once you have the authority for the dataset, download the dataset and extract the csv files to data/mimic3/raw/ and data/mimic4/raw/ in this project.

After the datasets are downloaded, please put each of them into a specified directory of the project.

Folder Specification

  • data/
    • mimic3
      • encoded
      • parsed
      • raw
      • standard
    • mimic4
      • encoded
      • parsed
      • raw
      • standard
    • params
      • mimic3
      • mimic4
    • icd9.txt
  • raw
    • mimic3
      • ADMISSIONS.csv
      • DIAGNOSES_ICD.csv
      • PRESCRIPTIONS.csv
      • PATIENTS.csv
      • NOTEEVENTS.csv
    • mimic4
      • admissions.csv
      • diagnoses_ics.csv
      • prescriptions.csv
      • patient.csv
      • noteevents.csv

(2) Preprocess datasets

python run_preprocess.py

2. Configuration

Please see train.py for detailed configurations.

3. Train model

You can train the model with the following command:

```bash
python train.py
```

Acknowledgement

If this work is useful in your research, please cite our paper.

chln's People

Contributors

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