GithubHelp home page GithubHelp logo

tahaceritli / miohmm Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 1.48 MB

Code for Mixture of Input-Output Hidden Markov Models for Heterogeneous Disease Progression Modeling

Home Page: https://proceedings.mlr.press/v184/ceritli22a.html

License: Other

Python 4.51% Jupyter Notebook 95.49%

miohmm's Introduction

Mixture of Input-Output Hidden Markov Models for Heterogeneous Disease Progression Modeling

This repository contains the code to reproduce the experiments in:

@InProceedings{ceritli2022,
    title = {Mixture of Input-Output Hidden Markov Models for Heterogeneous Disease Progression Modeling},
    author = {Ceritli, Taha and Creagh, Andrew P. and Clifton, David A.},
    booktitle={Proceedings of the 1st Workshop on Healthcare AI and COVID-19,
ICML 2022}

See https://arxiv.org/abs/2207.11846 for our latest arXiv submission.

Note that we extend the codebase in https://github.com/kseverso/DiseaseProgressionModeling-HMM and apply the data preprocessing steps in https://github.com/kseverso/Discovery-of-PD-States-using-ML. The repository is structured following the template provided in The Turing Way.


Contents: Introduction | Installation | Experiments | Contributing | License


Introduction

Installation

You can set up the necessary virtual environment via the following code:

conda create --name mIOHMM python=3.8.8
conda activate mIOHMM
pip install torch==1.10.0+cu113 torchvision==0.11.1+cu113 -f https://download.pytorch.org/whl/torch_stable.html
pip install scipy==1.6.1
pip install scikit-learn==0.24.1
pip install seaborn
pip install pandas
conda install -c anaconda ipykernel
python -m ipykernel install --user --name=mIOHMM

Experiments

You can reproduce the experiments via the command line as follows:

python -m experiments.synthetic
python -m experiments.real

You could also use the jupyter notebook to reproduce synthetic data experiments. We provide another jupyter notebook for real data experiments to reproduce the figures and tables used in the paper using the trained models.

Contributors


Taha Ceritli

Andrew P. Creagh

If you encounter an issue in mIOHMM, please open an issue or submit a pull request.

License

This work is licensed under the MIT license (code) and Creative Commons Attribution 4.0 International license (for documentation). You are free to share and adapt the material for any purpose, even commercially, as long as you provide attribution (give appropriate credit, provide a link to the license, and indicate if changes were made) in any reasonable manner, but not in any way that suggests the licensor endorses you or your use, and with no additional restrictions.

miohmm's People

Contributors

tahaceritli avatar apcreagh avatar

Stargazers

xiaobin avatar Sophia Vdovkina avatar  avatar

Watchers

 avatar

Forkers

yvonnelu

miohmm's Issues

Data for running the Real experiment

Hello,
There is no data in the data folder (either processed or raw) and I am not sure what structure should the data looks like for the preprocess function. Could you please at least upload the structure of Real data that your script need for running?
Thanks

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.