Skip to content
This repository has been archived by the owner on Jul 14, 2024. It is now read-only.

Implement foward-backward algorithm for sparse HMM #49

Merged
merged 9 commits into from
Jun 29, 2022
Merged

Implement foward-backward algorithm for sparse HMM #49

merged 9 commits into from
Jun 29, 2022

Conversation

gerdm
Copy link
Collaborator

@gerdm gerdm commented May 15, 2022

Implementation does not depend on jax.experimental.sparse, but it's sparse-compatible.

Close #45

gerdm added 8 commits May 11, 2022 17:19
Make alpha_step and beta_step lax.scan-compatible
Define alpha_forward, beta_backward
Type annottions
Use correct type hints for outputs
Define forward_backward function
@murphyk
Copy link
Member

murphyk commented May 17, 2022

Please add a unit test for this, to check correctness.
Call it sparse_lib_test.py.

@murphyk murphyk merged commit 0a4556d into main Jun 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement sparse HMM forward filtering and backward-smoother
2 participants