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

Conditional posteriors for Dynamic Linear Models #9

Open
brandonwillard opened this issue Mar 12, 2019 · 1 comment · Fixed by #105
Open

Conditional posteriors for Dynamic Linear Models #9

brandonwillard opened this issue Mar 12, 2019 · 1 comment · Fixed by #105
Labels
enhancement New feature or request miniKanren This issue involves miniKanren goals

Comments

@brandonwillard
Copy link
Contributor

brandonwillard commented Mar 12, 2019

We can extend the automatic closed-form multivariate normal posterior optimization to the time-series case and compute condition posteriors for terms in DLMs/state-space models.

To start, this would involve all the known exponential family conjugates (e.g. gaussian DLMs) and their accompanying sampling methods (e.g. forward-backward).

Complete examples for implementations of both can be found in amimodels (written in PyMC2). There's also some high-level documentation here.
More specifically, the forward-backward steps are here, and the conjugate steps start here.

@brandonwillard brandonwillard added the enhancement New feature or request label Jun 1, 2019
@brandonwillard brandonwillard added the miniKanren This issue involves miniKanren goals label Mar 13, 2020
@brandonwillard brandonwillard linked a pull request Mar 25, 2020 that will close this issue
@brandonwillard brandonwillard reopened this May 3, 2020
@brandonwillard
Copy link
Contributor Author

brandonwillard commented May 3, 2020

I have a manually constructed Theano FFBS sampler for DLMs in this article, along with a non-trivial scale-mixture extension to non-Gaussian observations. This is exactly the kind of thing we want to automate (well, the combination of things).

Also, this could be easily ported to TensorFlow, but, since the graph optimizations are still too basic and cumbersome to develop, I don't plan on porting it any time soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request miniKanren This issue involves miniKanren goals
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant