yc14600 / hsvi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hierarchical Stochastic Variational Inference (HSVI)

Introduction

HSVI is a small package for applying Stochastic Variational Inference to probabilistic models. It supports both tensorflow (v1.15) and pytorch (v1.9.0).

Installation

Install required packages:

pip install -r requirements.txt 

Install HSVI on local machine:

python setup.py install

User Guide

Please find full details in the User Guide Page, which includes API introduction, several example models (BNN, VAE, and a probabilistic model) for both tensorflow and pytorch versions.

About


Languages

Language:Jupyter Notebook 86.7%Language:Python 13.3%