Skip to content

Live demo

A real simplesvgd.update() run, recorded with [RerunConfig][simplesvgd.RerunConfig] and embedded below via the Rerun web viewer -- no install required, this is the same viewer you'd get locally with RerunConfig(enabled=True).

300 particles start from a diffuse Gaussian and are pushed by SVGD towards the four modes of the Himmelblau function (the same test function used in the mini-tutorial). Drag the timeline at the bottom to scrub through the 300 iterations; the particle cloud and the two diagnostic traces (particle_variance, repulsion_ratio) stay in sync.

If the embed above doesn't load (e.g. an ad blocker or a strict browser privacy mode blocking the app.rerun.io iframe), download the recording and open it locally instead:

pip install simplesvgd[rerun]
rerun --web-viewer "https://larsgeb.github.io/simpleSVGD/assets/rerun/himmelblau_demo.rrd"

The script that generated this recording is at docs/assets/rerun/generate_demo.py.