Skip to main content

Variational encoder-decoder models in Pyro probabilistic programming language

Project description

pyroVED


build codecov Documentation Status PyPI version

pyroVED is an open-source package built on top of the Pyro probabilistic programming language for applications of variational encoder-decoder models in spectral and image analyses. The currently available models include variational autoencoders with translational, rotational, and scale invariances for unsupervised, class-conditioned, and semi-supervised learning, as well as im2spec-type models for predicting spectra from images and vice versa. More models to come!

If you found a bug in the code or would like a specific feature to be added, please create a report/request here.

Examples

The easiest way to start using pyroVED is via Google Colab, which is a free research tool from Google for machine learning education and research built on top of Jupyter Notebook. The following notebooks can be executed in Google Colab by simply clicking on the "Open in Colab" icon:

  • Shift-VAE: Mastering the 1D shifts in spectral data Open In Colab

  • r-VAE: Disentangling image content from rotations Open In Colab

  • j(r)-VAE: Learning (jointly) discrete and continuous representations of data Open In Colab

  • ss(r)-VAE: Semi-supervised learning from data with orientational disorder Open In Colab

  • im2spec-VED: Predicting 1D spectra from 2D images Open In Colab

Installation

Requirements

  • python >= 3.6
  • pyro-ppl >= 1.6

Install pyroVED using pip:

pip install pyroved

Latest (unstable) version

To upgrade to the latest (unstable) version, run

pip install --upgrade git+https://github.com/ziatdinovmax/pyroved.git

Development

To run the unit tests, you'll need to have a pytest framework installed:

python3 -m pip install pytest

Then run tests as:

pytest tests

If this is your first time contributing to an open-source project, we highly recommend starting by familiarizing yourself with these very nice and detailed contribution guidelines.

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

pyroved-0.2.0.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

pyroved-0.2.0-py3-none-any.whl (40.8 kB view details)

Uploaded Python 3

File details

Details for the file pyroved-0.2.0.tar.gz.

File metadata

  • Download URL: pyroved-0.2.0.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for pyroved-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8e2d0248c142970ec5091b74155e38f3cf1662fef01d0e917a52c9f0ff442cdf
MD5 5251468d5112c499b61119d867d837a7
BLAKE2b-256 b66da58c63ea72e7e9ac9135d84b0ab76e9b37e17fa121d02b4073cf3b06fb53

See more details on using hashes here.

File details

Details for the file pyroved-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyroved-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 40.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for pyroved-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad68b29172eb9469fb7c4ea4eec3703f6837ca814c1b27151b814d8c47bab64f
MD5 eb3fa63df329d23ce800557c72ab7d1d
BLAKE2b-256 ed630e2d9f8932d9e3554c988b22569c62050e65dd64a04b95ed112cc5872cdb

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