Implement marginal likelihood estimator for ALL samplers using marginal posteriors #1586
Replies: 1 comment
|
@ben18785 @MichaelClerx Note sure whether this would be helpful, but you can check out this simple example I have created in my ion channel repo for testing thermodynamic integration using pints samplers. I am able to exactly reproduce the Normalizing constant for a linear Gaussian model (where I know the analytical value). This example can be found here. NB; I am using the Friel correction for carrying out the 1-d numerical integration in order to get a more stable estimate. At the present I am using a slightly modified class in
@mirams wants this to be within pints at some point. In principle we can have for samplers such as SMC to call the |
Uh oh!
There was an error while loading. Please reload this page.
See here. Easy to implement and quite cool!
All reactions