Skip to main content

Variational encoder-decoder models in Pyro probabilistic programming language

Project description

pyroVED


build 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 and/or rotational invariance 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!

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

Uploaded Source

Built Distribution

pyroved-0.1.2-py3-none-any.whl (38.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyroved-0.1.2.tar.gz
  • Upload date:
  • Size: 24.2 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.1.2.tar.gz
Algorithm Hash digest
SHA256 ac17fcafb89ee42ac17773c7af9b057421d82bd583896b01e155f8ce69fc5c8e
MD5 713b277e2de3c16106aea2e934f47755
BLAKE2b-256 765fd7858317d334218ff070a87321057c98e9d0adf79e328045939f0d021caf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyroved-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 38.6 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.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3cbf72e2a8e9e1721bed5e57f6d550b0c223eaedff4623f771933115c34b7299
MD5 ead44c3d2424227dd218feb970049140
BLAKE2b-256 1f214c47625b6a2ab03e4e341cb197bee805acef9494b6f63d755d6505f13c6d

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