You can use a CustomDist to implement your black box likelihood. We are actually rewriting the PyMC example to use CustomDist instead of a Potential: Update blackbox likelihood example by ricardoV94 · Pull Request #631 · pymc-devs/pymc-examples · GitHub
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to set up a custom likelihood function for two variables | 8 | 13306 | March 9, 2018 | |
| Pointwise log-likelihood for loo/waic with custom "black-box" probability distribution | 9 | 790 | January 19, 2024 | |
| Explanation of logp and customDist for Blackbox likelihood functions | 4 | 432 | February 2, 2024 | |
| Using pm.DensityDist and customized likelihood with a black-box function | 10 | 6853 | August 29, 2018 | |
| How is the marginalized likelihood computed? | 4 | 851 | November 26, 2021 |