Skip to content

Comments

Add example custom simulator#47

Merged
aloctavodia merged 2 commits intoarviz-devs:mainfrom
currocam:main
Oct 6, 2025
Merged

Add example custom simulator#47
aloctavodia merged 2 commits intoarviz-devs:mainfrom
currocam:main

Conversation

@currocam
Copy link
Contributor

Add custom simulator example to documentation

Hi,
A few weeks ago, we added the feature of passing a custom simulator function in #44. I've added a minimal example in the documentation. I'm not sure how to run the docs CI, but the website looks good to me after building it with make local .

It was also mentioned (#44 (comment)) to add some examples on the Exploratory Analysis of Bayesian Models. I'm happy to help. I found that book very nice, actually.

@aloctavodia
Copy link
Contributor

You can check the docs by going to the checks section in each PR and clicking on "docs/readthedocs.org:simuk — Read the Docs build succeeded!"

The example is fine, but it's kind of "hidden" inside the tab. We should add more structure. Something like

Simulation based calibration

This example demonstrates how to use the SBC class for simulation-based calibration, supporting PyMC, Bambi and Numpyro models.

Out-of-the-box SBC (or something else)

tabs

Custom simulator SBC (or something else)

tabs

@currocam
Copy link
Contributor Author

currocam commented Oct 5, 2025

Hi, yes, I agree. I've made the change.

@aloctavodia aloctavodia merged commit d55d1ed into arviz-devs:main Oct 6, 2025
1 check passed
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.

2 participants