aemcmc icon indicating copy to clipboard operation
aemcmc copied to clipboard

Add closed-form posterior for Gamma-Exponential observation model

Open larryshamalama opened this issue 1 year ago • 3 comments

Related to #48

This PR provides a closed-form posterior solution to an Exponential observation model with a Gamma prior.

Some part was directly inspired from other rewrites and tests, but it would be nice to ultimately get to #125

larryshamalama avatar Oct 21 '23 17:10 larryshamalama

Tests seem to be failing - not sure what needs to be updated

larryshamalama avatar Oct 26 '23 23:10 larryshamalama

@larryshamalama see https://github.com/pymc-devs/pytensor/issues/441 Cc @maresb

zoj613 avatar Oct 27 '23 03:10 zoj613

I had a look, and it's a result of #1512 coupled with erroring on Aesara warnings. Specifically, the first lookup fails, and numpy.distutils gets imported. This results in the deprecation warning, which gets translated to an error in pytest.

In normal circumstances, it appears that this warning is muted whenever this import occurs via Aesara, although I don't know by what mechanism. Nevertheless it still trips the pytest warnings filter. Perhaps @brandonwillard has more context and a suggestion for how to tackle this?

maresb avatar Oct 27 '23 15:10 maresb