-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exact Hamiltonian Monte Carlo for spherical Gaussian sampling (#144)
* implmentation of exact hmc walk * implementation of boundary oracles for the hpolytope * add fake boundary oracles for the other polytope representations * implement c++ interface for exponential sampling * improve boundary oracles and fix bugs * add root finder for the degree two polynomial * complete the root computation and the failure check * initial implementation of the random walk * improve R documentation and resolve gcc compile error * improve R documentation * initial implementation of hmc-leapfrog * add the new walk to the R interface * implement the C++ interface for the new walk * fix compile and algorithmic errors * improve R documentation * improve comments and R interface * initial implementation of the Exact HMC for gaussian dist. * add the new walk to C++ and R interfaces * implement boundary oracle * improve boundary oracle for exact hmc for gaussian sampling * remove test R script * resolve PR reviews * fix compile errors * merge develop branch * add burn in methods in exact hmc * delete white space in new gaussian hmc hpp file * resolve the reviews on the root computation * resolve review on the header names * improve definition of macro RVOLESTI * add an example to sample from exponential exact HMC * add a c++ example from the gaussian exact HMC * remove RVOLESTI macro * declare tol variable as static * fix bug in variable declaration * change tolerance variable declaration * set upper bound for the number of relfections * set upper bound for the number of relfections * change the name of TOL to IN_INSIDE_BODY_TOLLERANCE * remove VOLESTIPY macro * resolve PR comments * fix c++ bugs * resolve PR's comments
- Loading branch information
Showing
36 changed files
with
1,430 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.