https://github.com/alstat/wasp

Scalable Bayes via Barycenter in Wasserstein Space

https://github.com/alstat/wasp

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.1%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Scalable Bayes via Barycenter in Wasserstein Space

Basic Info
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of blayes/WASP
Created over 7 years ago · Last pushed almost 9 years ago

https://github.com/alstat/WASP/blob/master/

* Organization
  - There are four directories, each correspond to a subsection in the experiments section of the paper: lme (linear mixed effects modeling), mixtures (mixture modeling), ml (MovieLens data), and parafac (probabilistic parafac). 
  - Each directory has four sub directories: code, data, qsub, and result.
  - Directory 'code' has files of all the code (Matlab and R source code) that was used in the analysis. 
  - Directory 'data' has (if any) simulated data that was used in the analysis. This directory may be empty or absent.
  - Directory 'qsub' has SGE files (.q) that were used to submit jobs on a SGE cluster. 
  - Directory 'result' has a sub directory 'img' and stores the result (if any) produced in the analysis. This directory may be empty or absent.

* Files
  - 'simulate_data.R' contains the code to simulate and partition the data. 
  - 'analyze_result.R' contains the code for analyzing the results of MCMC, WASP, and competing methods and making plots/tables.
  - 'mcmc_sampler.R' contains the  code for the known/standard MCMC/Gibbs sampler for the model.
  - 'wasp_sampler.R' contains the  code for the MCMC/Gibbs sampler of a subset posterior distribution. This is a modified version of the code in 'mcmc_sampler.R' using stochastic approximation.
  - 'comp_sampler.R' contains the  code for the MCMC/Gibbs sampler of a subset posterior distribution in Consensus Monte Carlo (CMC) or Semiparametric Density Product (SDP). This is a modified version of the code in 'mcmc_sampler.R' by raising the prior to a power of '1/k', where 'k' is the number of subsets.
  - 'variational_bayes.R' contains the  code for the variational Bayes approach.
  - 'submit.R' contains the  code for the R code for submitting a job on the cluster. The files in 'qsub' directory use this file for running simulations.  

* Citation:
  If you use the code, then please cite the following three papers:
  - Srivastava, S., Li, C. and Dunson, D. B. (2017+). Scalable Bayes via barycenter in Wasserstein space. []
  - Li, C., Srivastava, S. and Dunson, D. B. (2017). Simple, scalable and accurate posterior interval estimation.  Biometrika 104: 665-680. []
  - Srivastava, S., Cevher, V., Tran-Dinh, Q. and Dunson, D. B. (2015). WASP: Scalable Bayes via barycenters of subset posteriors. Artificial Intelligence and Statistics: 912-920.
   
* Contact:
  Please email Cheng Li () or Sanvesh Srivastava () if you have any questions related to the code.

* Acknowledgment
  - The files 'callLpSolver.m', 'recoverSolution.m', and the *.m files for computing the WASP are based on an algorithm due to Volkan Cevher () and Quoc Tran-Dinh (). The algorithm can be found in Srivastava et al. (2015).
  - Some code for MovieLens data analysis and linear mixed effects modeling has been borrowed from Patrick O. Perry ().
  - Please email us if you think that we have missed citations to your paper/work. 

Owner

  • Name: Al Asaad
  • Login: alstat
  • Kind: user
  • Location: Quezon City, Philippines
  • Company: Johnson & Johnson

Statistician · Data Scientist

GitHub Events

Total
Last Year