-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes and improvements to experimental Gibbs
#2231
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
0b2279f
moved new Gibbs tests all into a single block
torfjelde dcad548
initial work on making Gibbs work with `externalsampler`
torfjelde 8e2d7be
Merge branch 'master' into torfjelde/gibbs-new-improv
torfjelde 4a609cb
removed references to Setfield.jl
torfjelde fc21894
fixed crucial bug in experimental Gibbs sampler
torfjelde 9910962
added ground-truth comparison for Gibbs sampler on demo models
torfjelde b3a4692
added convenience method for performing two sample KS test
torfjelde 3e17efc
use thinning to avoid OOM issues
torfjelde 429fc8f
removed incredibly slow testset that didn't really add much
torfjelde f6af20e
removed now-redundant testset
torfjelde 065eef6
use Anderson-Darling test instead of Kolomogorov-Smirnov to better
torfjelde c2d23e5
Merge branch 'master' into torfjelde/gibbs-new-improv
torfjelde 99f28f9
more work on testing
torfjelde 6df1ccc
Merge branch 'master' into torfjelde/gibbs-new-improv
torfjelde b6a907e
fixed tests
torfjelde a4e223e
Merge remote-tracking branch 'origin/torfjelde/gibbs-new-improv' into…
torfjelde e1e7386
make failures of `two_sample_ad_tests` a bit more informative
torfjelde be1ec7f
make failrues of `two_sample_ad_test` produce more informative logs
torfjelde 5f36446
additional information upon `two_sample_ad_test` failure
torfjelde 3be8f8b
rename `two_sample_ad_test` to `two_sample_test` and use KS test instead
torfjelde dbaf447
added minor test for externalsampler usage
torfjelde f44c407
also test AdvancedHMC samplers with Gibbs
torfjelde dd86cfa
forgot to add updates to src/mcmc/abstractmcmc.jl in previous commits
torfjelde 4160577
Merge remote-tracking branch 'origin/torfjelde/gibbs-new-improv' into…
torfjelde 2a7d85b
Merge branch 'master' into torfjelde/gibbs-new-improv
torfjelde bdc61fe
removed usage of `timeit_testset` macro
torfjelde d76243e
added temporary fix for externalsampler that needs to be removed once
torfjelde 14f5c89
minor reorg of two testsets
torfjelde 5893d54
set random seeds more aggressively in an attempt to make tests more r…
torfjelde 4a2cea2
Merge branch 'master' into torfjelde/gibbs-new-improv
yebai 4f30ea5
removed hack, awaiting PR to DynamicPPL
torfjelde 414a077
Merge branch 'master' into torfjelde/gibbs-new-improv
yebai 89bc2e1
renamed `_getmodel` to `getmodel`, `_setmodel` to `setmodel`, and
torfjelde 3d3c944
missed some instances during rnenaming
torfjelde e1f1a0e
fixed missing merge in initial step for experimental `Gibbs`
torfjelde 7c4368e
Always reconstruct `ADGradientWrapper` using the `adype` available in…
torfjelde 06357c6
Test Gibbs with different adtype in externalsampler to ensure that works
torfjelde 02f9fad
Update Project.toml
yebai 30ab9e0
Update Project.toml
yebai d40d82b
Merge branch 'master' into torfjelde/gibbs-new-improv
yebai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should
state
have typeTuringState
, given function body assumesstate
has fieldslogdensity
andstate
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@torfjelde any comment on this?