JuliaStats / Klara.jl

MCMC inference in Julia
Other
166 stars 38 forks source link

Work plan for Gibbs sampling for hierarchical models #155

Open papamarkou opened 7 years ago

papamarkou commented 7 years ago

A functional BasicGibbsJob has been implemented here. An example of how this Gibbs job can be utilized to sample from a bivariate normal distribution with two correlated random variables is available here.

Although the existing Gibbs job is operational, more work is required before it can be used for sampling from hierarchical models similarly to OpenBUGS. The main goal is to be able to take as input a set of cliques (into which the graphical probabilistic model can be decomposed) and the factors associated with these cliques, and then derive the parameter associated with each node in the graph. The target of each parameter can then be fed into the existing Gibbs job or to variations of it.

Here is an incremental task list required to reach the point of being able to sample from hierarchical models:

These tasks are carried out in the gibbs branch before the issue has been resolved and merged into master.