-
Notifications
You must be signed in to change notification settings - Fork 12
Propagate ref particle in PG #29
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
Conversation
Pull Request Test Coverage Report for Build 933715358Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Codecov Report
@@ Coverage Diff @@
## master #29 +/- ##
==========================================
+ Coverage 55.43% 55.70% +0.27%
==========================================
Files 5 5
Lines 368 368
==========================================
+ Hits 204 205 +1
+ Misses 164 163 -1
Continue to review full report at Codecov.
|
|
Isn't this handled in Lines 104 to 113 in 176640e
|
|
Was reading through |
|
|
||
| # Perform a particle sweep. | ||
| logevidence = sweep!(rng, particles, sampler.resampler) | ||
| logevidence = sweep!(rng, particles, sampler.resampler, particles.vals[nparticles]) |
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 also fix https://github.com/TuringLang/Turing.jl/blob/57e0512e3b63e4622c755dc6d933b51eb76d4483/src/inference/AdvancedSMC.jl#L304 when a new release of AdvancedPS is available.
|
Many thanks @FredericWantiez - looks correct to me! |
I think we need to propagate the reference particle in PG but
sweep!is missing arefparameter