Code for UAI'19: Random Sum-Product Networks: A Simple and Effective Approach to Probabilistic Deep Learning
- RAT-SPN model
- Experiments for generative learning of RAT-SPNs using EM
- Experiments for discriminative learning of RAT-SPNs using Adam
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
This will simply train a single RAT-SPN (no crossvalidation).
python quick_run_rat_spn_generative.py
python quick_eval_rat_spn_generative.py
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
See the run_.py and eval_.py files