GithubHelp home page GithubHelp logo

ziyuey / camelot-icml Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hrna-ox/camelot-icml

0.0 0.0 0.0 1.94 MB

Code for submission Learning of Cluster-based Feature Importance for Electronic Health Record Time-series

License: MIT License

Python 100.00%

camelot-icml's Introduction

This is a GitHub Repo for the paper "Learning of Cluster-based Feature Importance for Electronic Health Record Time-series", accepted at ICML 2022, in Baltimore, MD, US.

Our work tackled the challenging problem of identifying and characterizing disease phenotypes in multi-modal, multi-dimensional, and unevenly-sampled temporal EHR data. We proposed a novel deep learning method to cluster EHR trajectories that leverages event information to improve phenotyping. We introduced loss functions to address class imbalance and cluster collapse. Furthermore, we designed and validated a novel mechanism capable of identifying cluster-specific phenotypic importance for inputs across time and feature dimensions (i.e., which and when features contribute to events).

Link to Presentation: https://lnkd.in/dAGWWH8J Paper: https://lnkd.in/d3kT-RRe

Work done with Tingting Zhu, Mauro Santos and Peter Watkinson at the University of Oxford. Please get in touch if you are interested and would like to discuss further or talk more generally about phenotype identification and clustering!

The Repo is structured as follows:

  • all scripts are saved under "src/"

  • data is assumed to be under folder "data/{DATA_NAME}"

  • paths to save results and visualisations are "visualisations/{DATA_NAME}/" and "results/{DATA_NAME}"

  • "src/data_processing/" details scripts for processing HAVEN (proprietary dataset) and MIMIC-IV dataset.

  • "src/results/" contains main.py script that determines what results to save/how to save/...

  • Similarly, "src/visualisation/" contains main.py script that determines how to print, what to print, ...

  • "src/models/" contains all models considered for analysis (inc. CAMELOT and benchmarks). Each model contains a model wrapper class that has a "train" and "analyse" methods.

  • Training can be done in "src/training/run_model.py" using the command "python -m src.training.run_model" using this folder as the working directory. Configuration files for data, model and results need to be edited for new experiments. The script runs for all configuration possibilities (check the individual folders for the precise configuration names".

camelot-icml's People

Contributors

hrna-ox avatar hqaguiar 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.