-
Notifications
You must be signed in to change notification settings - Fork 94
Add support for inhomogeneous parameters in LinearGaussianConjugateSSM.fit_blocked_gibbs
#403
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
base: main
Are you sure you want to change the base?
Add support for inhomogeneous parameters in LinearGaussianConjugateSSM.fit_blocked_gibbs
#403
Conversation
5202215
to
00f6ee1
Compare
@hylkedonker, maybe I'm a bit confused about the proposal. If each time step has its own parameters and there's no tying of parameters in the prior (e.g., via a hierarchical model, a discrete switching model, or a slowly varying model), how do you estimate the per-timestep parameters? If you only get one observation of |
I had in mind that there is not just one sequence. But rather, a dataset of Concretely, for this pull request the generative model is as follows. for running from where we defined Then the posterior where In the special case that there is just the one sequence (i.e., is given in a similar way upon substituting When the model is stationary/homogeneous/time-independent, then the only change is that we drop the time index and extend the sum over training examples and time points. For example, I hope this clarifies the proposal. Other thoughts:
I look forward to hearing your thoughts. |
00f6ee1
to
e4f556a
Compare
This PR aims to address #402. In brief, add support for inhomogeneous (i.e., time-varying) parameter Gibbs sampling in the linear Gaussian conjugate state space model
LinearGaussianConjugateSSM
.The primary code change in
LinearGaussianConjugateSSM.fit_blocked_gibbs
is this:Scope:
fit_blocked_gibbs
-- e.g., EM -- are out of scope of this PR.Let me know if this looks good, or if you require any modifications.