Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add closed-form posterior for Gamma-Exponential observation model #133

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

larryshamalama
Copy link

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
Copy link
Author

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

@zoj613
Copy link
Member

zoj613 commented Oct 27, 2023

@maresb
Copy link
Contributor

maresb commented Oct 27, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants