probmods / webppl

Probabilistic programming for the web
http://webppl.org
Other
618 stars 86 forks source link

Expose kernel combinators #460

Open null-a opened 8 years ago

null-a commented 8 years ago

From a comment on #420:

It seems like it might be useful to be able to control the number of MH steps that are taken between each HMC iteration. Doing a long HMC simulation where all the continuous variables may move a long way and then only flipping a single discrete choice afterwards seems kinda unbalanced.

If this is useful, we could probably implement it by exposing our kernel combinators sequence and repeat.

ngoodman commented 8 years ago

we should expose these kernel combinators anyhow... eg have {kernel: {sequence: [{kernel: MH ...},{kernel: HMC ...}]. there are other useful things to do with sequence and mixture kernels...