-
Notifications
You must be signed in to change notification settings - Fork 37
[Merged by Bors] - Introduction of SamplingContext: keeping it simple
#259
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
Closed
Closed
Changes from 49 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
d70e1be
added sampling context and unwrap_childcontext
torfjelde f743990
updated tilde methods
torfjelde 3d2e7e2
updated model call signature
torfjelde 4f1d396
updated compiler
torfjelde b187d74
formatting
torfjelde ee99f8c
added getsym for vectors
torfjelde c4845d0
Update src/varname.jl
torfjelde a0c05f3
fixed some signatures for Model
torfjelde 307cd7e
fixed a method call
torfjelde 5972771
fixed method signatures
torfjelde c4ecd0e
sort of fixed the matchingvalue functionality for model
torfjelde a34b51c
formatting
torfjelde 6368282
Merge branch 'tor/tilde-simplification' into tor/sampler-context
torfjelde e4a2cf8
removed left-over acclogp! that should not be here anymore
torfjelde 7605785
export SamplingContext
torfjelde 354ac52
use context instead of ctx to refer to contexts
torfjelde b7a2b3b
formatting
torfjelde 9e0fc9a
use context instead of ctx for variables
torfjelde 7a4a1a3
use context instead of ctx to refer to contexts
torfjelde 7899473
Update src/compiler.jl
torfjelde 1630476
Update src/context_implementations.jl
torfjelde 6892d2b
Apply suggestions from code review
torfjelde fec00b6
Merge branch 'master' into tor/sampler-context
torfjelde ffb4933
Merge branch 'master' into tor/sampler-context
torfjelde 30c8345
Merge branch 'tor/tilde-simplification' into tor/sampling-context-simple
torfjelde 1015f0e
added impl of matchingvalue for contexts
torfjelde 23c86a7
reverted the change that makes assume always resample
torfjelde 17f5abe
removed the inds arguments from assume and dot_assume to stay non-bre…
torfjelde dbd61f0
Update src/context_implementations.jl
yebai b10ba3f
added missing sampler arg to tilde_observe
torfjelde 43779e8
Merge branch 'tor/sampling-context-simple' of github.com:TuringLang/D…
torfjelde bc5029f
added missing sampler argument in dot_tilde_observe
torfjelde 7eac33d
fixed order of arguments in some dot_assume calls
torfjelde 8599481
formatting
torfjelde 90a8c45
formatting
torfjelde f9d4ff8
added missing sampler argument in tilde_observe for SamplingContext
torfjelde e424fe7
added missing word in a docstring
torfjelde 70957d2
updated submodel macro
torfjelde d00cdcf
removed unwrap_childcontext and related since its not needed for this PR
torfjelde 639fd6e
updated submodel macro
torfjelde c9a06fb
fixed evaluation implementations of dot_assume
torfjelde 2fe5f40
updated pointwise_loglikelihoods and related
torfjelde b532ca6
added proper tests for pointwise_loglikelihoods
torfjelde 4e2274e
updated DPPL tests to reflect recent changes
torfjelde dbb48c5
Merge branch 'tor/tilde-simplification' into tor/sampling-context-simple
torfjelde 10899f3
formatting
torfjelde 1f21ce4
formatting
torfjelde 7004506
renamed mean_of_mean_models used in tests
torfjelde fa6c4d6
bumped dppl version in integration tests
torfjelde 684d829
Apply suggestions from code review
torfjelde 07bb284
Apply suggestions from code review
torfjelde c7c6a3c
fixed ambiguity error
torfjelde c259999
Merge branch 'tor/sampling-context-simple' of github.com:TuringLang/D…
torfjelde 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.