Skip to content
/ spnz-sl Public

Structure Learning for Continuous Variables in SPN-Z

Notifications You must be signed in to change notification settings

KalraA/spnz-sl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPN-Z-SL

Structure Learning for Continuous Variables in SPN-Z

Used for all experiments in Online Structure Learning for Sum-Product Networks Created by Wilson Hsu and Agastya Kalra.

Dependencies:

  • Scipy

  • Numpy

  • Python 3.3+

Usage:

To run any of the experiments in the dataset first create a folder in the library directory called SPN-Z-SL/data/dataset_name/.

Then create 10 files of the dataset as follows:

dataset_name.1.data ... dataset_name.10.data.

then add ~/path/to/SPN-Z-SL/ to your PYTHONPATH.

finally in experiments/read_data.py, add the line to run an experiment. The file explains the parameters.

then in the libraries main directory type:

python3 experiment/real_data.py

REAL_NVP Experiments: https://github.com/KalraA/real-nvp/

About

Structure Learning for Continuous Variables in SPN-Z

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published