-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LinearEllipticalSliceSampler Robustness Improvements (#1859)
Summary: Pull Request resolved: #1859 This commit improves the robustness of the linear elliptical slice sampler, primarily with two modifications: 1) A rewrite of the computation of the angles of the ellipse that lead to intersections with the constraint boundaries that gets rid of the `delta_theta` parameter which cannot be set universally without sacrificing either correctness or causing errors due to floating point imprecisions. 2) Contracting the feasible slices of the ellipse by an amount close to the numerical precision to guarantee that the resulting samples satisfy the constraints numerically. The commit also introduces a high dimensional test case that enforces the monotonicity of adjacent elements of the sample vectors, which originally led to the discovery of all the issues that are fixed by the above steps. Reviewed By: Balandat Differential Revision: D46422349 fbshipit-source-id: 33bd16edf527f3dfa49aeff5c7aaaf889b43099b
- Loading branch information
1 parent
30eddaf
commit ef52ea9
Showing
2 changed files
with
132 additions
and
62 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