Skip to main content

Style transfer variational autoencoder

Project description

https://img.shields.io/pypi/v/stvae?color=green https://travis-ci.org/NRshka/stvae.svg?branch=master

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


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.5.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

stVAE-0.2.5-py3.7.egg (108.7 kB view details)

Uploaded Source

File details

Details for the file stVAE-0.2.5.tar.gz.

File metadata

  • Download URL: stVAE-0.2.5.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for stVAE-0.2.5.tar.gz
Algorithm Hash digest
SHA256 237de710452255d33b4cb29b0d73763e9e05b2c20a7f9f40882290e8f72bd007
MD5 635745a5ebbec73ad634d7ce2cf8ad59
BLAKE2b-256 76e497aaff18436977c02d3882302be2d07f03ef9a849ed9bac41127380c621b

See more details on using hashes here.

File details

Details for the file stVAE-0.2.5-py3.7.egg.

File metadata

  • Download URL: stVAE-0.2.5-py3.7.egg
  • Upload date:
  • Size: 108.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.8.0 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for stVAE-0.2.5-py3.7.egg
Algorithm Hash digest
SHA256 2c83847807a6755e5d7996c38a672d8e2641cb09e851aa5e43ce55ad4c4f7925
MD5 9b84aeb76bb87f2c2cafc5d5d8694b7d
BLAKE2b-256 f091ec68ccff2c7d787fa5e962ff70aeb8881db4090c0007446476a5f6b06166

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page