Condition out-of-sample prediction
Project description
trVAE
Introduction
A Keras (tensorflow < 2.0) implementation of trVAE (transfer Variational Autoencoder) . trVAE is a deep generative model which learns mapping between multiple different styles (conditions). trVAE can be used for style transfer in images, predicting single-cell perturbations responses and batch removal.
- For pytorch implementation check Here
Getting Started
Installation
Before installing trVAE package, we suggest you to create a new Python 3.6 (or 3.7) virtual env (or conda env) with the following steps:
1. Installing virtualenv
pip install virtualenv
2. Create a virtual with Python 3.6
virtualenv trvae-env --python=python3.6
3. trVAE package installation
To install the latest version from PyPI, simply use the following bash script:
pip install trvae
or install the development version via pip:
pip install git+https://github.com/theislab/trvae.git
or you can first install flit and clone this repository:
git clone https://github.com/theislab/trVAE
cd trVAE
pip install -r requirements
python setup.py install
Examples
- For perturbation prediction check this example from Haber et al..
Reproducing paper results:
In order to reproduce paper results visit here.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file trVAE-1.1.1.tar.gz
.
File metadata
- Download URL: trVAE-1.1.1.tar.gz
- Upload date:
- Size: 32.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f1144473bd7e10bbb0a6c0bba24906c5e029e8a5e9d3e0301448cfd1da92213 |
|
MD5 | 9251851cf5a4d73b546385961953c6a1 |
|
BLAKE2b-256 | c9196eb879eca6746c232b19a167d8ab5a1586d9080045ce494728f28ecd7acd |
Provenance
File details
Details for the file trVAE-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: trVAE-1.1.1-py3-none-any.whl
- Upload date:
- Size: 26.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 122fc0d7c289bda92c3706b81b40e6ec653b69a4a072018c00eb5f1d3999c5e1 |
|
MD5 | 779e950d43273480448047749aa73096 |
|
BLAKE2b-256 | f3f436c6aaacbf049d2a3e616a84ffba2ab8650b4ba5e1218872f3cf72deca96 |