GithubHelp home page GithubHelp logo

wenmm / sivae Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quon-titative-biology/sivae

0.0 0.0 0.0 8.42 MB

License: MIT License

Shell 1.84% Python 96.73% R 1.21% Cython 0.15% Starlark 0.07%

sivae's Introduction

scalable, interpretable Variational Autoencoder (siVAE)

siVAE is an extension of traditional VAE that learns feature embeddings that guide the interpretation of the sample embeddings, in a manner analogous to factor loadings of factor analysis/PCA. siVAE is as powerful and nearly as fast to train as the standard VAE, but achieves full interpretability of the latent dimensions, as well as all hidden layers of the decoder. In addition, siVAE uses similarity between embeddings and gene regulatory networks to infer aspects of GRN.

This implementation of siVAE includes various analysis to visualize the interpretations of information learned by the modified VAE including new interpretability measure, feature awareness.

Requirements

Operation systems: Linux Programing language: Python 3.6

Installation

siVAE requires installation of siVAE package as well as modified deepexplain from (https://github.com/marcoancona/DeepExplain), tensorflow-forward-ad (https://github.com/renmengye/tensorflow-forward-ad), and scvi-tools (https://github.com/YosefLab/scvi-tools)

Install siVAE by running the following command on the package file.

pip install -e siVAE

The package requires tensorflow >= 1.15 and tensorflow probability. In addition, installation of tensorflow-gpu is recommended for faster performance.

The installation typically takes under an hour.

Running the model

Example of applying siVAE on subset of fetal liver dataset is shown in jupyter notebook.

tutorial

The tutorial will lead through how to visualize and interpret the cell/feature embeddings (similar to Fig.3a and b) from trained siVAE model. In addition, it will display table form of predicted gene degree centrality and neighborhood genes used to generate figures similar to Figure 5.

sivae's People

Contributors

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