-
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
Replace old Gibbs sampler with the experimental one. #2328
Open
mhauru
wants to merge
32
commits into
master
Choose a base branch
from
mhauru/change-gibbs-sampler
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
5948253
Replace old Gibbs sampler with the experimental one.
mhauru 5a3e4a6
Remove dead references to experimental
mhauru 09c739d
Remove mention of experimental from JuliaFormatter conf
mhauru 58ebb25
Add tests for deprecated constructor
mhauru 7715732
Fix deprecated Gibbs constructors. Add HISTORY entry.
mhauru 672f7d9
Bump version to 0.35.0
mhauru 7bf5abe
Add Gibbs constructor test for repeat samplers
mhauru 85bcfa5
Fix typo in test/mcmc/ess.jl
mhauru 6f9679a
Use provided rng to initialise VarInfo in Gibbs
mhauru f247ad9
Fix a typo in GibbsContext
mhauru a790363
Merge remote-tracking branch 'origin/master' into mhauru/change-gibbs…
mhauru d19afe1
Fix the Gibbs sampler
mhauru 19598c4
Fix the Gibbs sampler more
mhauru 71f26ca
Remove mentions of old Gibbs sampler from MH docs
mhauru 2454cf1
Merge remote-tracking branch 'origin/master' into mhauru/change-gibbs…
mhauru d0f57ac
Bump DPPL to 0.28.6
mhauru 1bd0794
Merge remote-tracking branch 'origin/master' into mhauru/change-gibbs…
mhauru 6f5b273
Merge remote-tracking branch 'origin/master' into mhauru/change-gibbs…
mhauru 74b57e7
Redesign GibbsContext, work in progress
mhauru b16daf5
Fixing new Gibbs, adding a broken test
mhauru de9e7da
Merge remote-tracking branch 'origin/master' into mhauru/change-gibbs…
mhauru af802dc
Document and clean up GibbsContext
mhauru e58d935
Code style and docs improvements to Gibbs
mhauru b8c3dcd
Change how AdvancedHMC Gibbs state treats momenta
mhauru da0b740
Remove unnecessary invlinking
mhauru d984d2b
Change how AdvancedHMC Gibbs state treats momenta, again
mhauru 410d74d
Merge remote-tracking branch 'origin/master' into mhauru/change-gibbs…
mhauru 15ee270
Merge remote-tracking branch 'origin/master' into mhauru/change-gibbs…
mhauru d52af52
Use setparams!! rather than reset_state!!
mhauru 508ac61
Don't overload setparams\!\! with VarInfo
mhauru 6ff7c59
A fix for ESS in Gibbs
mhauru 934c03e
Remove recompute_logprob!!
mhauru 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
style="blue" | ||
format_markdown = true | ||
import_to_using = false | ||
# TODO | ||
# We ignore these files because when formatting was first put in place they were being worked on. | ||
# These ignores should be removed once the relevant PRs are merged/closed. | ||
ignore = [ | ||
# https://github.com/TuringLang/Turing.jl/pull/2328/files | ||
"src/experimental/gibbs.jl", | ||
"test/experimental/gibbs.jl", | ||
] |
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 was deleted.
Oops, something went wrong.
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.
This looks rather awkward. Can we introduce a simple wrapper,
Repeated
and support: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.
Yes. We had a chat about a closely related issue with @torfjelde too, I'll rework the interface around this a bit.