Skip to content
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

Issue 266: Fix kernel bug #267

Merged
merged 6 commits into from
Jun 11, 2024
Merged

Issue 266: Fix kernel bug #267

merged 6 commits into from
Jun 11, 2024

Conversation

seabbs
Copy link
Collaborator

@seabbs seabbs commented Jun 9, 2024

Closes #226 but adding a partial = false option to the observation kernel generating funciton, adds tests for this, and uses this in LatentDelay method.

Still not loving how this shifts complexity into the error model here. Holding this though as thinking about making a abstract type for observation error models where this could be offloaded and if we have that then this would seem to be less of a problem.

@seabbs seabbs requested a review from SamuelBrand1 June 9, 2024 22:25
@seabbs seabbs enabled auto-merge June 9, 2024 22:25
@seabbs seabbs changed the title Issue 266 Issue 266: Fix kernel bug Jun 9, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.40%. Comparing base (4688d20) to head (cb5095f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #267      +/-   ##
==========================================
+ Coverage   93.34%   93.40%   +0.05%     
==========================================
  Files          45       45              
  Lines         451      455       +4     
==========================================
+ Hits          421      425       +4     
  Misses         30       30              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@SamuelBrand1 SamuelBrand1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to work... I'm a bit uncomfortable that of you generate data e.g. y_t = missing then you have to pre-pend something like fill(missing, length(obs.pmf)) to then infer parameters.

But I think this kind of clunkiness is being improved by other PRs/issues.

@seabbs
Copy link
Collaborator Author

seabbs commented Jun 11, 2024

But I think this kind of clunkiness is being improved by other PRs/issues.

Yes, in #268 hopefully (and if not does seem like its own issue beyond the bug fix)

@seabbs seabbs disabled auto-merge June 11, 2024 13:01
@seabbs seabbs added this pull request to the merge queue Jun 11, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jun 11, 2024
* add partial option

* reverse partial if gate

* add a test for new partial functionality

* simplify LatentDelay

* simplify LatentDelay

---------

Co-authored-by: Samuel Brand <[email protected]>
Merged via the queue into main with commit 8e8bf26 Jun 11, 2024
10 checks passed
@seabbs seabbs deleted the issue266 branch June 11, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pipeline constructor to include save path specification
3 participants