This repository is the official implementation of Decentralized Langevin Dynamics for Bayesian Learning.
python 3.x, numpy, matplotlib
pytorch (>=1.0), torchvision
scikit-learn
Centralized ULA - toy_data_sgld.py
Decentralized ULA - toy_data_dist_sgld.py
Centralized ULA - a9a_sgld.py
Decentralized ULA - a9a_dist_sgld.py
SGD - mnist_sgd_svhn_pred_scores.py
Centralized ULA - mnist_sgld_svhn_pred_scores.py
Decentralized ULA - mnist_dist_sgld_svhn_pred_scores.py
All content in this repository is licensed under the MIT license.