Add support for inhomogeneous parameters in LinearGaussianConjugateSSM.fit_blocked_gibbs#403
Add support for inhomogeneous parameters in LinearGaussianConjugateSSM.fit_blocked_gibbs#403hylkedonker wants to merge 2 commits intoprobml:mainfrom
LinearGaussianConjugateSSM.fit_blocked_gibbs#403Conversation
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_gibbsis 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.