This repository contains the code files of the analyses in "Pathfinder: Parallel quasi-Newton variational inference"
Folder Name | Intro |
---|---|
posteriordb | Subfolder posterior_database contains the database of package posteriordb |
posteriordb_check | Codes for experiments for examples from posteriordb |
example | Codes and data for the Birthday example and other examples |
utils | Utility functions |
(note: since the function pdb_local() requires folder posteriordb to be in a git repository, please use git clone to download the repository or configure a remote in the unzipped repository)
HMC vs L-BFGS exam in Introduction (old test, no longer present in the paper, but the result of check_LBFGS.R is reused in the experiments in Section 3):
- Optimization: posteriordb_check/phaseI_check/check_LBFGS.R
- Stan phase I: posteriordb_check/phaseI_check/main.R
- Plots: posteriordb_check/pic.R
- Stan phase I: posteriordb_check/phaseI_check/main_100_PhI.R
- Pathfinder: posteriordb_check/phaseI_adapt_check/main_pf.R
- ADVI: posteriordb_check/phaseI_ADVI/main_ADVI_100.R
- Laplace (in Appendix D): posteriordb_check/Laplace_check/main_laplace.R
- Wasserstein distance: posteriordb_check/wasserstain_check.R
- Plots: posteriordb_check/pic.R
- 100-dimensional Neal's Funnel: example/funnel100/funnel100.R
- Ovarian example: example/ovarian/ovarian_test.R
- Mcycle_gp_accel_gp: example/mcycle_gp/mcycle_gp.R
- example/Birthdays/model6_test.R
Name | ||
---|---|---|
Lu Zhang | [email protected] | Ph.D. University of Southern California, PPHS, Biostatistics |
Bob Carpenter | [email protected] | Ph.D. Flatiron Institute |
- Code © 2021, Lu Zhang, licensed under BSD (3-clause).
- You are welcome to contact me for bug reporting.