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 functionality for computing posteriors #312

Open
dweindl opened this issue Oct 15, 2024 · 0 comments
Open

Add functionality for computing posteriors #312

dweindl opened this issue Oct 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dweindl
Copy link
Member

dweindl commented Oct 15, 2024

So far, we only have functions for computing the likelihood based on some simulation results (calculate_llh_for_table). It would be convenient to also have some corresponding calculate_posterior_for_table function. This should simplify, e.g., PEtab-dev/petab_test_suite#60. Ideally, #311 should be implemented first.

@dweindl dweindl added the enhancement New feature or request label Oct 15, 2024
@dweindl dweindl mentioned this issue Dec 4, 2024
dweindl added a commit that referenced this issue Dec 11, 2024
Introduces `Prior` and `Distribution` classes for handling PEtab-specific prior distributions, and (PEtab-version-invariant) univariate probability distributions. Supports sampling from them, and evaluating negative log-priors (#312). Later on, this can be extended to noise models for measurements and computing loglikelihoods.
This also adds a notebook demonstrating the various prior options which are a common source confusion.

Closes #311.

:eyes: notebook: https://petab--329.org.readthedocs.build/projects/libpetab-python/en/329/example/distributions.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant