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.1b0.tar.gz
(31.0 kB
view details)
File details
Details for the file stVAE-0.1b0.tar.gz
.
File metadata
- Download URL: stVAE-0.1b0.tar.gz
- Upload date:
- Size: 31.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbdbcd41a86285ee2d5b96cf9834ad4ae6ad57943fc6cf9e55bb3a64db1b2c5b |
|
MD5 | d678531fab338a6699f34f028560fff8 |
|
BLAKE2b-256 | 2c36e2a9dbccbe6ede8a43b2fd869a2a8774bdc0e2b2dd0e2569396e73198e82 |