GithubHelp home page GithubHelp logo

rachel-tzy / mditre Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gerberlab/mditre

0.0 0.0 0.0 132.2 MB

License: GNU General Public License v3.0

Python 92.06% Jupyter Notebook 7.10% Shell 0.03% R 0.82%

mditre's Introduction

MDITRE: scalable and interpretable machine learning for predicting host status from temporal microbiome dynamics

We present a new differentiable model that learns human interpretable rules from microbiome time-series data for classifying the status of the human host.

Installation (Python 3.6+ and CUDA 10.0)

First install mditre package from pip via web or source. Then install pytorch.

Install mditre from pip via web:

pip install mditre

Install mditre from pip via source:

git clone https://github.com/gerberlab/mditre.git
cd mditre
pip install .

Install pytorch from pip

Linux or Windows (with NVIDIA GPU and CUDA 10.0)

pip install torch==1.4.0 torchvision==0.5.0 -f https://download.pytorch.org/whl/cu100/torch_stable.html

Linux or Windows (CPU only)

pip install torch==1.4.0+cpu torchvision==0.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html

MacOS (CUDA not supported)

pip install torch==1.4.0 torchvision==0.5.0

Usage

MDITRE workflow on 16S rRNA and shotgun metagenomics data

We provide 2 tutorials, one for 16s-based data here and another for shotgun metagenomics (Metaphlan) based data here, which show how to use MDITRE for data loading and preprocessing, running the model code and using the GUI to interpret the learned rules for post-hoc analysis.

Configuration options

MDITRE operation requires a list of configuration options to be passed as arguments as explained here.

mditre's People

Contributors

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