You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* initialize nuts sampler class
* implement the burnin of nuts sampler
* add tests and resolve bugs
* implement e0 estimation in burnin of nuts
* optimize leapfrog
* integrate nuts into the R interface
* document random walk in sample_points.cpp in R interface
* fix burnin for the non-truncated case
* resolve bugs in hmc and nuts pipelines
* improve the preprocess in burin step of nuts
* split large lines in sample_points.cpp
* Add NUTS C++ example and update CMake (#29)
* resolve PR comments
* fix minor bug
* fix compiler bug
* fix error in building the C++ examples
* resolve warnings in sample_points
* fix lpsolve cran warning
* fix cran warning on mac
* improve lpsolve cmake for cran check
* fix R warning in mac test
* remove lpsolve header
* resolve PR comments
---------
Co-authored-by: Marios Papachristou <[email protected]>
Co-authored-by: Apostolos Chalkis (TolisChal) <[email protected]>
//' @param n The number of points that the function is going to sample from the convex polytope.
245
266
//' @param random_walk Optional. A list that declares the random walk and some related parameters as follows:
246
267
//' \itemize{
247
-
//' \item{\code{walk} }{ A string to declare the random walk: i) \code{'CDHR'} for Coordinate Directions Hit-and-Run, ii) \code{'RDHR'} for Random Directions Hit-and-Run, iii) \code{'BaW'} for Ball Walk, iv) \code{'BiW'} for Billiard walk, v) \code{'dikin'} for dikin walk, vi) \code{'vaidya'} for vaidya walk, vii) \code{'john'} for john walk, viii) \code{'BCDHR'} boundary sampling by keeping the extreme points of CDHR or ix) \code{'BRDHR'} boundary sampling by keeping the extreme points of RDHR x) \code{'HMC'} for Hamiltonian Monte Carlo (logconcave densities) xi) \code{'ULD'} for Underdamped Langevin Dynamics using the Randomized Midpoint Method xii) \code{'ExactHMC'} for exact Hamiltonian Monte Carlo with reflections (spherical Gaussian or exponential distribution). The default walk is \code{'aBiW'} for the uniform distribution or \code{'CDHR'} for the Gaussian distribution and H-polytopes and \code{'BiW'} or \code{'RDHR'} for the same distributions and V-polytopes and zonotopes.}
268
+
//' \item{\code{walk} }{ A string to declare the random walk: i) \code{'CDHR'} for Coordinate Directions Hit-and-Run,
269
+
//' ii) \code{'RDHR'} for Random Directions Hit-and-Run, iii) \code{'BaW'} for Ball Walk,
270
+
//' iv) \code{'BiW'} for Billiard walk, v) \code{'dikin'} for dikin walk, vi) \code{'vaidya'} for vaidya walk,
271
+
//' vii) \code{'john'} for john walk, viii) \code{'BCDHR'} boundary sampling by keeping the extreme points of CDHR or
272
+
//' ix) \code{'BRDHR'} boundary sampling by keeping the extreme points of RDHR x) \code{'NUTS'} for
273
+
//' NUTS Hamiltonian Monte Carlo sampler (logconcave densities) xi) \code{'HMC'} for Hamiltonian Monte Carlo (logconcave densities)
274
+
//' xii) \code{'ULD'} for Underdamped Langevin Dynamics using the Randomized Midpoint Method (logconcave densities)
275
+
//' xiii) \code{'ExactHMC'} for exact Hamiltonian Monte Carlo with reflections (spherical Gaussian or exponential distribution).
276
+
//' The default walk is \code{'aBiW'} for the uniform distribution, \code{'CDHR'} for the Gaussian distribution and H-polytopes
277
+
//' and \code{'BiW'} or \code{'RDHR'} for the same distributions and V-polytopes and zonotopes. \code{'NUTS'} is the default sampler for logconcave densities.}
248
278
//' \item{\code{walk_length} }{ The number of the steps per generated point for the random walk. The default value is \eqn{1}.}
249
279
//' \item{\code{nburns} }{ The number of points to burn before start sampling. The default value is \eqn{1}.}
250
280
//' \item{\code{starting_point} }{ A \eqn{d}-dimensional numerical vector that declares a starting point in the interior of the polytope for the random walk. The default choice is the center of the ball as that one computed by the function \code{inner_ball()}.}
0 commit comments