/CS539-HW-4

Black Box Variational inference algorithm

Primary LanguagePythonMIT LicenseMIT

CS539-HW-4

Learning Goal

The goal of this fourth exercise is to understand and implement one kind of generic variational inference algorithm.

Setup

Note: This code base was developed on Python3.7

Clone Daphne directly into this repo:

git clone git@github.com:plai-group/daphne.git

(To use Daphne you will need to have both a JVM installed and Leiningen installed)

pip3 install -r requirements.txt

Usage

Change the daphne path in bbvi.py and run:

python3 bbvipy