Giter VIP home page Giter VIP logo

muse's Introduction

Multimodal Patient Representation Learning with Missing Modalities and Labels (ICLR 2024)

This repository contains code for the ICLR'24 paper: Multimodal Patient Representation Learning with Missing Modalities and Labels.

Dependencies

python==3.8.18
torch==2.0.1

Repository Structure

  • src/: Source code for MedLink
    • preprocess/: Scripts for data preprocessing
    • dataset/: Data, Dataset, Tokenizer, Vocabulary, and collate_fn
    • core/: Core implementation for the MUSE method
    • metrics.py: Metrics for model evaluation
    • helper.py: Helper class for model training, evaluation, and inference
    • utils.py: Utility functions

How to Reproduce

Follow these steps to reproduce the results:

  1. Edit the path in src/utils.py to your local path.
  2. Obtain the eICU and MIMIC-IV datasets and place it under {raw_data_path}.
  3. Run the following notebooks under src/preprocess in the specified order to prepare the data:
    1. eICU:
      1. Run parse_eicu_remote.ipynb
      2. Run preprocess_eicu.py
      3. Run build_vocab_eicu.py
      4. Run data_split_eicu.py
    2. MIMIC-IV:
      1. Run parse_mimic4_remote.ipynb
      2. Run preprocess_mimic4.py
      3. Run build_vocab_mimic4.py
      4. Run data_split_mimic4.py
    3. Run get_code_embeddings.py
  4. Execute run.py under src/core to train the model:
    python run.py \
    --dataset [mimic4/eicu] \
    --task [mortality/readmission] \
    --official_run
    

Citation

@inproceedings{
wu2024multimodal,
title={Multimodal Patient Representation Learning with Missing Modalities and Labels},
author={Zhenbang Wu and Anant Dadu and Nicholas Tustison and Brian Avants and Mike Nalls and Jimeng Sun and Faraz Faghri},
booktitle={The Twelfth International Conference on Learning Representations},
year={2024},
url={https://openreview.net/forum?id=Je5SHCKpPa}
}

muse's People

Contributors

zzachw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

wh-forker

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.