-
Notifications
You must be signed in to change notification settings - Fork 10
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
Update the update_ref!
API
#85
Conversation
Pull Request Test Coverage Report for Build 6615226923
💛 - Coveralls |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #85 +/- ##
==========================================
+ Coverage 95.60% 95.86% +0.25%
==========================================
Files 8 8
Lines 410 411 +1
==========================================
+ Hits 392 394 +2
+ Misses 18 17 -1
☔ View full report in Codecov by Sentry. |
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.
Thanks, @FredericWantiez -- it looks good to me. See a few minor comments below.
@@ -91,39 +90,35 @@ plot(x; label="x", xlabel="t") | |||
plot(y; label="y", xlabel="t") | |||
|
|||
# Each model takes an `AbstractRNG` as input and generates the logpdf of the current transition: | |||
mutable struct NonLinearTimeSeries <: AdvancedPS.AbstractGenericModel | |||
X::Array | |||
mutable struct NonLinearTimeSeries <: AdvancedPS.AbstractStateSpaceModel |
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.
Let's consider adding SSMProblems
to the dependency and follow its interface. We can also remove the out-of-date SSM interface from AdvancedPS
.
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.
Agree, but maybe in another PR ? I think there's some work needed around the way we handle the observations/data here compared to SSMProblems
* Update smc.jl * Update smc.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@yebai as discussed,
update_ref!(ref, pc)
should instead be something like thisupdate_ref!(ref, pc, sampler)
so that we can dispatch properly on the sampler type.With this, we can clean up the SSM example in the doc and remove the remaining
Libtask
references and comparePG
andPGAS
on anAbstractStateSpaceModel