pymc-examples icon indicating copy to clipboard operation
pymc-examples copied to clipboard

Update blackbox likelihood example

Open ricardoV94 opened this issue 5 months ago • 22 comments

Changes

  • Make Op more generic (accepts distinct inputs, returns vectorized loglikelihood), for better transfer learning
  • Build Ops more iteratively, and show useful debugging strategies
  • Use CustomDist instead of Potential (added a short section at the end showing Potential)
  • Actually make use of finite differences as mentioned in the text
  • Remove mention of old Cython example and reference new JAX example
  • Fix some cross-references (unclear success)

Checklist

  • [x] Notebook follows style guide https://docs.pymc.io/en/latest/contributing/jupyter_style.html
  • [ ] PR description contains a link to the relevant issue:
    • a tracker one for existing notebooks (tracker issues have the "tracker id" label)
    • or a proposal one for new notebooks
  • [x] Check the notebook is not excluded from any pre-commit check: https://github.com/pymc-devs/pymc-examples/blob/main/.pre-commit-config.yaml

📚 Documentation preview 📚: https://pymc-examples--631.org.readthedocs.build/en/631/

ricardoV94 avatar Feb 02 '24 13:02 ricardoV94