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.tar.gz
(31.0 kB
view details)
File details
Details for the file stVAE-0.2.tar.gz
.
File metadata
- Download URL: stVAE-0.2.tar.gz
- Upload date:
- Size: 31.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb716c3eac799a2f2de93b7abba238a9e9dc93e968df2fa5efcf31467d897dc8 |
|
MD5 | 0acb31fd7722011585c6b687d9941e38 |
|
BLAKE2b-256 | bce35411d608172293b90e3506e0641840b04918b8076f732555ec50340f7422 |