Style transfer variational autoencoder
Project description
The official pytorch implementation of “Style transfer with variational autoencoders is a promising approach to RNA-Seq data harmonization and analysis”. The package contains a code for training and testing the model, as well as a code for working with different types of datasets.
Installation
To install the latest version from PyPI, use:
>>> pip install stvae
Benchmarks
The original code containing code with testing several models can be found here.
Example
ds = stvae.datasets.MouseDataset()
cfg = stvae.Config()
train, test, classif = ds.split(0.15, True, 0.15)
cfg.count_classes = ds.n_labels
cfg.count_classes = ds.n_batches
cfg.input_dim = ds.nb_genes
model = stvae.stVAE(cfg)
model.train(train, None)
d = model.test(test, classif)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stVAE-0.2.2.tar.gz
(32.0 kB
view details)
File details
Details for the file stVAE-0.2.2.tar.gz
.
File metadata
- Download URL: stVAE-0.2.2.tar.gz
- Upload date:
- Size: 32.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d905e7f81d187189486777b655975e02ee70f85b4de9bb79abee2700b2d0408c |
|
MD5 | 9372bb9678f35fcb5b2b07c11d8ac695 |
|
BLAKE2b-256 | a3867e667dd6fe9ff429f528a6bfab1a6d4aafb945f36513ff962605f715f0d2 |