Python 2.7 code for the paper:
Goodness-of-fit Testing for Discrete Distributions via Stein Discrepancy.
Jiasen Yang, Qiang Liu, Vinayak Rao, and Jennifer Neville.
In Proceedings of the 35th International Conference on Machine Learning (ICML), 2018.
See the driver files ex-ising.py
, ex-rbm.py
, and ex-ergm.py
for experiments on the Ising model, the Bernoulli restricted Boltzmann machine (RBM), and the exponential random graph model (ERGM), respectively.
Please contact Jiasen Yang for questions or comments.