Giter Club home page Giter Club logo

Comments (2)

jluttine avatar jluttine commented on June 12, 2024

Hi, I'm on holidays currently. I'll get back to you next week.

from bayespy.

jluttine avatar jluttine commented on June 12, 2024

BayesPy supports dynamic networks, but the built-in nodes cover only a few basic dynamic structures. In some cases, complex models can be constructed from simple built-in nodes, but in some cases one may need to implement a specific node for some part of the model. Typically, most parts of models can be constructed with the built-in nodes.

The dynamic built-in nodes include CategoricalMarkovChain, GaussianMarkovChain, SwitchingGaussianMarkovChain and VaryingGaussianMarkovChain.

CategoricalMarkovChain is a discrete Markov chain, basically a hidden Markov model. One can then add some emission distribution by using Mixture node. See http://www.bayespy.org/examples/hmm.html for an example.

GaussianMarkovChain can be used to construct linear state-space models. It defines a Gaussian random variable with Markovian dynamics. By using SwitchingGMC or VaryingGMC, some specific structure can be used efficiently, although identical structures are available by using simpler nodes, but the computations are not as efficient for large datasets. That is, sometimes one needs to implement specific nodes in order to obtain more efficient inference. An example of a linear state-space model: http://www.bayespy.org/examples/lssm.html

About Factorial HMM, there was a question about it earlier (#4) and you may find some information there.
I'm not sure what kind of model you have in mind exactly. In some cases, an FHMM can be represented equivalently as an HMM, but the inference isn't as efficient because the structure isn't utilized. For instance, an FHMM with a set of M HMMs and K possible states in each chain can be represented by an HMM with K^M possible states. However, if parameters are unknown or if efficient inference is required, one may need to implement a specific node to handle part of the mixing of several chains. If this is something you need, I could take a look on it in the near future, but for the two-three few weeks I'm busy with other high priority matters.

from bayespy.

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.