Skip to content

Code for UAI'19: Random Sum-Product Networks: A Simple and Effective Approach to Probabilistic Deep Learning

Notifications You must be signed in to change notification settings

wenzhu888/RAT-SPN

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAT-SPN

Code for UAI'19: Random Sum-Product Networks: A Simple and Effective Approach to Probabilistic Deep Learning

V0.2

  • RAT-SPN model
  • Experiments for generative learning of RAT-SPNs using EM
  • Experiments for discriminative learning of RAT-SPNs using Adam

Setup

git clone https://github.com/cambridge-mlg/RAT-SPN

cd RAT-SPN

./install_tensorflow_venv.sh

source ratspn_venv/bin/activate

python download_preprocess_data.py

Quick Run for Generative Experiments

This will simply train a single RAT-SPN (no crossvalidation).

python quick_run_rat_spn_generative.py

python quick_eval_rat_spn_generative.py

Quick Run for Discriminative Training on MNIST

This will simply train a single RAT-SPN for each depth.

python quick_run_rat_spn_mnist.py

python quick_eval_rat_spn_discriminative.py

Full Training

See the run_.py and eval_.py files

About

Code for UAI'19: Random Sum-Product Networks: A Simple and Effective Approach to Probabilistic Deep Learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%