Giter VIP home page Giter VIP logo

Comments (5)

bagibence avatar bagibence commented on August 19, 2024 2

Yes, I've been using SLDS on a list of recordings. You just have to pass a list of time series instead of a single one to the functions. The list elements have to be in the shape of T x D where T is the number of time points (the different time series can have different lengths) and D is the dimensionality of your observations.

from ssm.

slinderman avatar slinderman commented on August 19, 2024

Thanks @bagibence, that's exactly right.

from ssm.

ewerlopes avatar ewerlopes commented on August 19, 2024

@bagibence That is good news! I am going to try it right now! Thanks for the prompt reply!

from ssm.

ewerlopes avatar ewerlopes commented on August 19, 2024

@slinderman, just one doubt... the fact that we see the ELBO not having a monotonically increasing behavior comes from the fact you are using the stochastic version for the mean field variational inference, right?

from ssm.

slinderman avatar slinderman commented on August 19, 2024

The ELBO should monotonically increase for HMMs fit with EM. We've implemented exact M-steps for most observation models. For SLDS, the examples are currently using black box variational inference with SGD, Adam, rmsprop, etc. We've implemented a few variational families including mean field

q(x) = \prod_t N(x_t | mu_t, Sigma_t)

and a structured variational posterior

q(x) = N(x | mu, Sigma)

where mu is a (TD,) vector and Sigma is a (TD x TD) matrix with a block-tridiagonal inverse. I.e. the variational posterior corresponds to a chain structured graph, as in an LDS.

In a separate branch, David Z. and I are working on a Laplace variational inference method that maintains chain-structured posteriors on both q(x) and q(z), and is much more efficient than BBVI.

from ssm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.