Inhomogeneous Kalman filter
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 114
- Avg merge
- 19h 14m
- Merged PRs (30d)
- 1
Description
Hi,
I was wondering if there are any plans to support the time-dependent dynamics parameters (e.g., $F_t$) and emission parameters (e.g., $H_t$) in LinearGaussian{Conjugate}SSM? The math in the LinearGaussian SSM docs suggests time dependence, but when I look at the code, it looks like they are time-independent (e.g., $F_t=F$ for all $t$).
It appears that some of the mechanics to implement time-dependence is already in place, e.g., in lgssm_posterior_sample and lgssm_smoother.
Unless I am missing something, I think what remains should be quite straightforward. Namely, instead of aggregating the statistics from different time points $t$, just keep the time index and make a separate posterior update for each $t$.
If you're interested, I can help out with a PR.
Kind regards,
Hylke
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the LinearGaussian{Conjugate}SSM implementation and compare its parameter handling with lgssm_posterior_sample and lgssm_smoother, which the issue identifies as already supporting time dependence. The work is complete when dynamics and emission parameters can vary by time and the corresponding posterior updates preserve each time index.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100